Export (0) Print
Expand All
Expand Minimize

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft