Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Packs two UINT32 values, which represent a ratio, into a UINT64 value.
Syntax
UINT64 PackRatio(
[in] INT32 nNumerator,
[in] UINT32 unDenominator
);
Parameters
[in] nNumerator
Value to store the UINT32 numerator value.
[in] unDenominator
Value to store the UINT32 denominator value.
Return value
Returns the packed UINT64 value.
Remarks
This function stores two 32-bit values in a 64-bit value that is suitable for the IMFAttributes::SetUINT64 method.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | mfapi.h |