Pack2UINT32AsUINT64

Packs two UINT32 values into a UINT64 value.

Syntax

UINT64 Pack2UINT32AsUINT64(
         UINT32 unHigh,
         UINT32 unLow
)  

Parameters

unHigh
Type: UINT32 

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

unLow
Type: UINT32 

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

Return value

Type: UINT64 

Returns the packed UINT64 value.

Refer to Media Foundation return codes.

Remarks

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

Requirements

Header: Declared in mfapi.h.