ConvertVideoInfoToVideoInfo2 (Windows Embedded CE 6.0)
1/6/2010
This function converts a VIDEOINFO stream format to a VIDEOINFOHEADER2 format.
Syntax
STDAPI ConvertVideoInfoToVideoInfo2(
AM_MEDIA_TYPE* pmt
);
Parameters
- pmt
[in/out] Pointer to the AM_MEDIA_TYPE enumerated type.
Return Value
Returns an HRESULT value that depends on the implementation of the interface.
HRESULT can include one of the following standard constants, or other values not listed.
Value | Description |
---|---|
E_OUTOFMEMORY |
Operation ran out of memory. |
S_OK |
Success. |
Remarks
If successful, this function modifies the formattype member of AM_MEDIA_TYPE to change its registered GUID from a VIDEOINFO type to a VIDEOINFOHEADER2 type.
Requirements
Windows Embedded CE | Windows CE 2.12 and later |
Note | Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later |