The W32TIME_STATUS_INFO structure defines the current status data of the time service.
typedef struct {
unsigned __int32 ulSize;
unsigned __int32 eLeapIndicator;
unsigned __int32 nStratum;
signed __int32 nPollInterval;
unsigned __int32 refidSource;
unsigned __int64 qwLastSyncTicks;
signed __int64 toRootDelay;
unsigned __int64 tpRootDispersion;
signed __int32 nClockPrecision;
[string, unique] wchar_t* wszSource;
signed __int64 toSysPhaseOffset;
unsigned __int32 ulLcState;
unsigned __int32 ulTSFlags;
unsigned __int32 ulClockRate;
unsigned __int32 ulNetlogonServiceBits;
unsigned __int32 eLastSyncResult;
unsigned __int64 tpTimeLastGoodSync;
unsigned __int32 cEntries;
[size_is(cEntries)] PW32TIME_ENTRY pEntries;
} W32TIME_STATUS_INFO,
*PW32TIME_STATUS_INFO;
ulSize: The size, in bytes, of this structure.
eLeapIndicator: An integer that warns of an impending leap second in the last minute of the current day, as specified in [RFC1305] section 3.2.
nStratum: An integer that indicates the stratum level of the local clock in the time service, as specified in [RFC1305] section 3.2.
nPollInterval: An integer that indicates the poll interval of the time service, expressed as specified in [RFC1305] section 3.2, using units of seconds given as exponents to a power of two.
refidSource: A 32-bit code that identifies the particular reference clock of the time source that the time service is synchronizing with, as specified in [RFC1305] section 3.2.
qwLastSyncTicks: The LastSyncTicks element value (see section 3.2.1.1).
toRootDelay: A 64-bit signed integer that indicates the total round-trip delay to the primary time source, as specified in [RFC1305] section 3.2, in 100-nanosecond units.
tpRootDispersion: A 64-bit unsigned integer that indicates the root dispersion, as specified in [RFC1305] section 3.2, in 100-nanosecond units.
nClockPrecision: An integer that indicates the time resolution of the local system clock, expressed in the same format as poll intervals that are specified in [RFC1305] section 3.2, using units of seconds given as exponents to a power of two.
wszSource: The TimeSourceIPAddress element value (see section 3.2.1.1).
toSysPhaseOffset: The SysPhaseOffset element value (see section 3.2.1.1).
ulLcState: The CurrentState element value (see section 3.2.1.1).
ulTSFlags: The TimeSourceFlags element value (see section 3.2.1.1).
ulClockRate: The ClockRate element value (see section 3.2.1.1).
ulNetlogonServiceBits: An unsigned 32-bit integer that contains information about the functionality that the time service provides, as specified in section 3.2.5.2.
eLastSyncResult: An integer that indicates the TimeSync_ReturnResult code, as specified in section 3.2.5.1.
tpTimeLastGoodSync: The TimeLastGoodSync element value (see section 3.2.1.1).
cEntries: The number of additional configuration entries in pEntries.
pEntries: A pointer to W32TIME_ENTRY structures that represent additional configuration entries.