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.

MFSetAttribute2UINT32asUINT64 function

Packs two UINT32 values into a UINT64 attribute value.

Syntax


HRESULT MFSetAttribute2UINT32asUINT64(
  _In_ IMFAttributes *pAttributes,
  _In_ REFGUID       guidKey,
  _In_ UINT32        unHigh32,
  _In_ UINT32        unLow32
);

Parameters

pAttributes [in]

A pointer to the IMFAttributes interface of the attribute store.

guidKey [in]

A GUID that identifies the value to set. If this key already exists, the function overwrites the old value.

unHigh32 [in]

The value to store in the high-order 32 bits of the UINT64 value.

unLow32 [in]

The value to store in the low-order 32 bits of the UINT64 value.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Internally, this functions calls Pack2UINT32AsUINT64 to create the 64-bit value, and IMFAttributes::SetUINT64 to set the attribute.

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

 

 

Show:
© 2016 Microsoft