IVMRDeinterlaceControl::GetActualDeinterlaceMode
Microsoft DirectShow 9.0 |
IVMRDeinterlaceControl::GetActualDeinterlaceMode
This topic applies to Windows XP Service Pack 1 or later.
The GetActualDeinterlaceMode method returns the deinterlacing mode that the VMR is using for a specified stream.
Syntax
HRESULT GetActualDeinterlaceMode( DWORD dwStreamID, GUID *lpDeinterlaceMode );
Parameters
dwStreamID
[in] Index of the video stream.
lpDeinterlaceMode
[out] Pointer to a variable that receives a GUID value that identifies the deinterlacing mode. The method returns GUID_NULL if the VMR has not initialized the deinterlacing hardware, or if the VMR determines that this stream should not be deinterlaced.
Return Values
Returns an HRESULT value. Possible values include the following:
Return Code | Description |
E_INVALIDARG | Invalid stream number. |
E_POINTER | NULL pointer argument. |
S_OK | Success. |
VFW_E_VMR_NOT_IN_MIXER_MODE | The VMR is not in mixer mode. |
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also