MFTIME
定義 100 奈秒的單位。
typedef LONGLONG MFTIME;
範例
const MFTIME ONE_SECOND = 10000000; // One second.
const LONG ONE_MSEC = 1000; // One millisecond
// Convert 100-nanosecond units to milliseconds.
inline LONG MFTimeToMsec(const LONGLONG& time)
{
return (LONG)(time / (ONE_SECOND / ONE_MSEC));
}
規格需求
需求 | 值 |
---|---|
標頭 |
|
另請參閱