MILLISECONDS_FROM_100NANOSECONDS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// sensorsutils.h

#define MILLISECONDS_FROM_100NANOSECONDS(durationNanoS) ((durationNanoS) / (1000 * 10))
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-sensorsutils-milliseconds_from_100nanoseconds)

MILLISECONDS_FROM_100NANOSECONDS macro

Description

This macro converts time in 100 nanosecond units, to milliseconds.

Syntax

#define MILLISECONDS_FROM_100NANOSECONDS(durationNanoS) ((durationNanoS) / (1000 * 10))

Parameters

durationNanoS

The duration in 100 nanosecond units to convert to milliseconds.

Remarks

Gets a LONGLONG that represents a time length in milliseconds.

See also