Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

Windows Phone 8: This API is supported.

Windows Phone 8.1: This API is supported.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

Library

Mfplat.lib

DLL

Mfplat.dll

See also

Media Foundation Functions
Attributes and Properties

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.