Partager via


IOCTL_KLIB_GETALARMRESOLUTION (Windows Embedded CE 6.0)

1/5/2010

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).

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

Header pkfuncs.h
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

Other OAL IOCTLs
dwNKAlarmResolutionMSec

Other Resources

CeSetUserNotification
CeSetUserNotificationEx
CeRunAppAtTime