Partager via


ConvertVideoInfoToVideoInfo2 (Compact 2013)

3/26/2014

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

Syntax

STDAPI ConvertVideoInfoToVideoInfo2(
  AM_MEDIA_TYPE* pmt
);

Parameters

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

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Conversion Functions