Share via


CeGetRawTimeOffset (Windows Embedded CE 6.0)

1/6/2010

This function reads the current raw time offset to calculate the monotonically increasing time.

Syntax

BOOL CeGetRawTimeOffset(
    LONGLONG * pi64Offset
);

Parameters

  • pi64Offset
    [out] Pointer to a signed 64-bit value to receive raw time offset, in milliseconds.

Return Value

TRUE indicates success. FALSE indicates failure. For more information, call GetLastError.

Remarks

The monotonically increasing clock may be useful for services that use notifications for updates in the time. The time difference can persist across reboots.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

Time Functions
CeGetRawTime

Other Resources

Monotonically Increasing Clock
Kernel Migration