Pack2UINT32AsUINT64 function (mfapi.h)

Packs two UINT32 values into a UINT64 value.

Syntax

UINT64 Pack2UINT32AsUINT64(
  [in] UINT32 unHigh,
  [in] UINT32 unLow
);

Parameters

[in] unHigh

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

[in] unLow

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

Return value

Returns the packed UINT64 value.

Remarks

This function stores two 32-bit values in a 64-bit value that is suitable for the IMFAttributes::SetUINT64 method.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfapi.h

See also

MFSetAttributeRatio

MFSetAttributeSize

Media Foundation Functions