MFGetAttributesAsBlobSize function

Retrieves the size of the buffer needed for the MFGetAttributesAsBlob function.

Syntax


HRESULT MFGetAttributesAsBlobSize(
  _In_  IMFAttributes *pAttributes,
  _Out_ UINT32        *pcbBufSize
);

Parameters

pAttributes [in]

Pointer to the IMFAttributes interface of the attribute store.

pcbBufSize [out]

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 codeDescription
S_OK

The function succeeded.

 

Remarks

Use this function to find the size of the array that is needed for the MFGetAttributesAsBlob function.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Mfapi.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

Media Foundation Functions
Attributes and Properties

 

 

Show: