IOCTL_KLIB_GETALARMRESOLUTION

This IOCTL is provided by the OEM and is used to retrieve the accuracy of the real-time clock (RTC).

Parameters

  • dwIoControlCode
    [in] Set to IOCTL_KLIB_GETALARMRESOLUTION.
  • lpInBuf
    [in] Set to NULL.
  • nInBufSize
    [in] Set to zero, the size of lpInBuf.
  • lpOutBuf
    [out] Pointer to a DWORD value of alarm clock accuracy in milliseconds (ms) from 1000 to 60000.
  • nOutBufSize
    [out] Set to sizeof(DWORD).
  • lpBytesReturned
    [out] Pointer to a DWORD value, which indicates the number of bytes returned. This should be sizeof(DWORD).
  • lpOverlapped
    [in] Set to NULL.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This IOCTL is provided by the OEM in the OAL. The notification system uses this IOCTL to find the accuracy of the RTC. It immediately starts notifications that are within this interval from the current time when they are scheduled. If the IOCTL is not provided, the default RTC accuracy of 10 seconds is assumed.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Pkfuncs.h.

See Also

dwNKAlarmResolutionMSec | CeSetUserNotification | CeSetUserNotificationEx | CeRunAppAtTime

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.