Compartilhar via


ConvertVideoInfoToVideoInfo2 (Windows CE 5.0)

Send Feedback

This function converts a VIDEOINFO stream format to a VIDEOINFOHEADER2 format.

STDAPI ConvertVideoInfoToVideoInfo2(AM_MEDIA_TYPE* pmt);

Parameters

Return Values

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

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header:

See Also

Conversion Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.