Packs two UINT32 values, which represent a ratio, into a UINT64 value.
UINT64 PackRatio(
INT32 nNumerator,
UINT32 unDenominator
)
nNumerator
Type: INT32
Value to store the UINT32 numerator value.
unDenominator
Type: UINT32
Value to store the UINT32 denominator value.
Type: UINT64
Returns the packed UINT64 value.
Refer to Media Foundation return codes.
This function stores two 32-bit values in a 64-bit value that is suitable for the IMFAttributes::SetUINT64 method.
Header: Declared in mfapi.h.