MFGetAttributesAsBlobSize function (mfapi.h)
Retrieves the size of the buffer needed for the MFGetAttributesAsBlob function.
Syntax
HRESULT MFGetAttributesAsBlobSize(
[in] IMFAttributes *pAttributes,
[out] UINT32 *pcbBufSize
);
Parameters
[in] pAttributes
Pointer to the IMFAttributes interface of the attribute store.
[out] pcbBufSize
Receives the required size of the array, in bytes.
Return value
The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The function succeeded. |
Remarks
Use this function to find the size of the array that is needed for the MFGetAttributesAsBlob function.
Requirements
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 |