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.

MFTIME

Defines units of 100 nanoseconds.


typedef LONGLONG MFTIME;

Examples


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));
}

Requirements

Header

Mfidl.h

See also

Media Foundation Datatypes

 

 

Show:
© 2017 Microsoft