DXVA_DeinterlaceBobDeviceClass::DeinterlaceCloseStream method

The sample DeinterlaceCloseStream function closes the deinterlace stream object and instructs the device driver to release any hardware resource associated with the stream.

Syntax

HRESULT DeinterlaceCloseStream();

Parameters

This method has no parameters.

Return value

Returns zero (S_OK or DD_OK) if successful; otherwise, returns an error code. Refer to ddraw.h for a complete list of error codes.

Remarks

The DeinterlaceCloseStream function maps directly to the DestroyMoComp member of the DD_MOTIONCOMPCALLBACKS structure that points to the driver-supplied DdMoCompDestroy callback.

See also

DD_MOTIONCOMPCALLBACKS

DeinterlaceOpenStream