Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

MFGetAttribute2UINT32asUINT64 function

Gets an attribute whose value is two UINT32 values packed into a UINT64.

Syntax


HRESULT MFGetAttribute2UINT32asUINT64(
  _In_  IMFAttributes *pAttributes,
  _In_  REFGUID       guidKey,
  _Out_ UINT32        *punHigh32,
  _Out_ UINT32        *punLow32
);

Parameters

pAttributes [in]

A pointer to the IMFAttributes interface of the attribute store.

guidKey [in]

A GUID that identifies which value to retrieve. The attribute type must be MF_ATTRIBUTE_UINT64.

punHigh32 [out]

Receives the high-order 32 bits.

punLow32 [out]

Receives the low-order 32 bits.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK

The method succeeded.

MF_E_ATTRIBUTENOTFOUND

The specified key was not found.

MF_E_INVALIDTYPE

The attribute value is not a UINT64.

 

Remarks

Internally, this function calls IMFAttributes::GetUINT64 to get the UINT64 value, and Unpack2UINT32AsUINT64 to unpack the two 32-bit values.

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfobjects.h (include Mfidl.h)

See also

Attributes and Properties
Media Foundation Functions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft