Expand Minimize

Unpack2UINT32AsUINT64 macro

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

Syntax


void Unpack2UINT32AsUINT64(
  [in]   UINT64 unPacked,
  [out]  UINT32 *punHigh,
  [out]  UINT32 *punLow
);

Parameters

unPacked [in]

The value to convert.

punHigh [out]

Receives the high-order 32 bits.

punLow [out]

Receives the low-order 32 bits.

Return value

This macro does not return a value.

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

Media Foundation Functions
MFGetAttributeRatio
MFGetAttributeSize

 

 

Community Additions

ADD
Show:
© 2014 Microsoft