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.MFInitMediaTypeFromMFVideoFormat |
MFInitMediaTypeFromMFVideoFormat function (mfapi.h) |
Initializes a media type from an MFVIDEOFORMAT structure. |
|
mf\mfinitmediatypefrommfvideoformat.htm |
mf |
45400b67-df81-4fae-a24d-80020eb07151 |
12/05/2018 |
45400b67-df81-4fae-a24d-80020eb07151, MFInitMediaTypeFromMFVideoFormat, MFInitMediaTypeFromMFVideoFormat function [Media Foundation], mf.mfinitmediatypefrommfvideoformat, mfapi/MFInitMediaTypeFromMFVideoFormat |
mfapi.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2008 [desktop apps only] |
Mfplat.lib |
Mfplat.dll |
Windows |
19H1 |
|
|
|
|
|
|
[This API is not supported and may be altered or unavailable in the future. Applications should avoid using the MFVIDEOFORMAT structure, and use media type attributes instead. For more information, see Video Media Types.]
Initializes a media type from an MFVIDEOFORMAT structure.
Pointer to the IMFMediaType interface of the media type to initialize. To create the uninitialized media type object, call MFCreateMediaType.
Pointer to an MFVIDEOFORMAT structure that describes the media type. The caller must fill in the structure members before calling this function.
Size of the MFVIDEOFORMAT structure, in bytes.
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.