Skip to content

Latest commit

 

History

History
114 lines (90 loc) · 2.71 KB

nf-mfapi-mfinitattributesfromblob.md

File metadata and controls

114 lines (90 loc) · 2.71 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.MFInitAttributesFromBlob
MFInitAttributesFromBlob function (mfapi.h)
Initializes the contents of an attribute store from a byte array.
MFInitAttributesFromBlob
MFInitAttributesFromBlob function [Media Foundation]
da0f01a3-ed47-42a1-b4af-5f3cbc9271a3
mf.mfinitattributesfromblob
mfapi/MFInitAttributesFromBlob
mf\mfinitattributesfromblob.htm
mf
da0f01a3-ed47-42a1-b4af-5f3cbc9271a3
12/05/2018
MFInitAttributesFromBlob, MFInitAttributesFromBlob function [Media Foundation], da0f01a3-ed47-42a1-b4af-5f3cbc9271a3, mf.mfinitattributesfromblob, mfapi/MFInitAttributesFromBlob
mfapi.h
Windows
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Mfplat.lib
Mfplat.dll
Windows
19H1
MFInitAttributesFromBlob
mfapi/MFInitAttributesFromBlob
c++
APIRef
kbSyntax
DllExport
mfplat.dll
MFInitAttributesFromBlob

MFInitAttributesFromBlob function

-description

Initializes the contents of an attribute store from a byte array.

-parameters

-param pAttributes [in]

Pointer to the IMFAttributes interface of the attribute store.

-param pBuf [in]

Pointer to the array that contains the initialization data.

-param cbBufSize [in]

Size of the pBuf array, in bytes.

-returns

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The function succeeded.
E_INVALIDARG
The buffer is not valid.

-remarks

Use this function to deserialize an attribute store that was serialized with the MFGetAttributesAsBlob function.

This function deletes any attributes that were previously stored in pAttributes.

-see-also

Attributes and Properties

Media Foundation Functions