Compartilhar via


CeGetRawTimeOffset (Compact 2013)

3/28/2014

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

See Also

Reference

Time Functions
CeGetRawTime