Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UnpackRatio macro

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

Syntax


void unpackratio(
  [in]  UINT64 unPacked,
  [out] UINT32 *pnNumerator,
  [out] UINT32 *punDenominator
);

Parameters

unPacked [in]

The value to convert.

pnNumerator [out]

Receives the high-order 32 bits.

punDenominator [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 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfapi.h

See also

Media Foundation Functions
MFGetAttributeRatio
MFGetAttributeSize

 

 

Show:
© 2016 Microsoft