Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Initializes the contents of an attribute store from a byte array.
HRESULT MFInitAttributesFromBlob(
[in] IMFAttributes *pAttributes,
[in] const UINT8 *pBuf,
[in] UINT cbBufSize
);
[in] pAttributes
Pointer to the IMFAttributes interface of the attribute store.
[in] pBuf
Pointer to the array that contains the initialization data.
[in] cbBufSize
Size of the pBuf array, in bytes.
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The function succeeded. |
|
The buffer is not valid. |
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.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfapi.h |
Library | Mfplat.lib |
DLL | Mfplat.dll |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today