Skip to content

Latest commit

 

History

History
89 lines (64 loc) · 3.13 KB

nf-mfapi-mfinitmediatypefrommfvideoformat.md

File metadata and controls

89 lines (64 loc) · 3.13 KB
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.
45400b67-df81-4fae-a24d-80020eb07151
MFInitMediaTypeFromMFVideoFormat
MFInitMediaTypeFromMFVideoFormat function [Media Foundation]
mf.mfinitmediatypefrommfvideoformat
mfapi/MFInitMediaTypeFromMFVideoFormat
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
MFInitMediaTypeFromMFVideoFormat
mfapi/MFInitMediaTypeFromMFVideoFormat
c++
APIRef
kbSyntax
DllExport
mfplat.dll
MFInitMediaTypeFromMFVideoFormat

MFInitMediaTypeFromMFVideoFormat function

-description

[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.

-parameters

-param pMFType

Pointer to the IMFMediaType interface of the media type to initialize. To create the uninitialized media type object, call MFCreateMediaType.

-param pMFVF

Pointer to an MFVIDEOFORMAT structure that describes the media type. The caller must fill in the structure members before calling this function.

-param cbBufSize

Size of the MFVIDEOFORMAT structure, in bytes.

-returns

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-see-also

Media Foundation Functions

Media Type Conversions

Media Types

Video Media Types