Retrieves the size of the buffer needed for the MFGetAttributesAsBlob function.
HRESULT MFGetAttributesAsBlobSize(
IMFAttributes *pAttributes,
UINT32 *pcbBufSize
)
pAttributes
Type: IMFAttributes *
[in]
Pointer to the IMFAttributes interface of the attribute store.
pcbBufSize
Type: UINT32 *
[out]
Receives the required size of the array, in bytes.
Type: HRESULT
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. |
Refer to Media Foundation return codes.
Use this function to find the size of the array that is needed for the MFGetAttributesAsBlob function.
Header: Declared in mfapi.h.
Library: Use mfplat.lib.