UnpackSize

Gets the low-order and high-order UINT32 values from a UINT64 value that represnets a size.

Syntax

void UnpackSize(
         UINT64 unPacked,
         UINT32 *punWidth,
         UINT32 *punHeight
)  

Parameters

unPacked
Type: UINT64 

The value to convert.

punWidth
Type: UINT32 *

[out] Receives the high-order 32 bits.

punHeight
Type: UINT32 *

[out] Receives the low-order 32 bits.

Return value

None.

Remarks

You can use this function to unpack a UINT64 value that you receive from the IMFAttributes::GetUINT64 method.

Requirements

Header: Declared in mfapi.h.