Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 | UWP apps]

Minimum supported server

Windows Server 2008 [desktop apps | UWP apps]

Header

Mfobjects.h (include Mfidl.h)

See also

Attributes and Properties
Media Foundation Functions

 

 

Show:
© 2018 Microsoft