UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:mfapi.MFInitMediaTypeFromMPEG2VideoInfo |
MFInitMediaTypeFromMPEG2VideoInfo function (mfapi.h) |
Initializes a media type from a DirectShow MPEG2VIDEOINFO structure. |
|
mf\mfinitmediatypefrommpeg2videoinfo.htm |
mf |
44ad976e-2b15-454c-9422-26fc960e03aa |
12/05/2018 |
44ad976e-2b15-454c-9422-26fc960e03aa, MFInitMediaTypeFromMPEG2VideoInfo, MFInitMediaTypeFromMPEG2VideoInfo function [Media Foundation], mf.mfinitmediatypefrommpeg2videoinfo, mfapi/MFInitMediaTypeFromMPEG2VideoInfo |
mfapi.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Mfplat.lib |
Mfplat.dll |
Windows |
19H1 |
|
|
|
|
|
|
Initializes a media type from a DirectShow MPEG2VIDEOINFO structure.
Pointer to the IMFMediaType interface of the media type to initialize. To create the uninitialized media type object, call MFCreateMediaType.
Pointer to a MPEG2VIDEOINFO structure that describes the media type. The caller must fill in the structure members before calling this function.
Size of the MPEG2VIDEOINFO structure, in bytes.
Pointer to a subtype GUID. This parameter can be NULL. If the subtype GUID is specified, the function uses it to set the media subtype. Otherwise, the function attempts to deduce the subtype from the biCompression field contained in the MPEG2VIDEOINFO structure.
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The function succeeded. |