home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / AutoPC / apcsdk10.exe / data1.cab / Emulation_Include_Files / nled.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-05-13  |  1.1 KB  |  77 lines

  1. /*++
  2.  
  3. Copyright (c) 1994 - 1997 Microsoft Corporation
  4.  
  5.  
  6. File Name:    nled.h
  7.  
  8. Abstract:   Notification LED interface.
  9.  
  10. Notes:
  11.  
  12. The notification LED is distinguished from other LED's which may be on the system
  13. in that it can be on or blinking even if the rest of the system is powered down.  This
  14. implies a certain level of hardware support for this functionality.
  15.  
  16. --*/
  17. #ifndef __NLED_H__
  18. #define __NLED_H__
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24.  
  25. //
  26. // NLedDriverGetDeviceInfo query definitions
  27. //
  28.  
  29. #define NLED_COUNT_INFO_ID    0
  30.  
  31.  
  32. struct NLED_COUNT_INFO
  33.     {
  34.     UINT    cLeds;
  35.     };
  36.  
  37.  
  38. #define NLED_SUPPORTS_INFO_ID    1
  39.  
  40.  
  41. struct NLED_SUPPORTS_INFO
  42.     {
  43.     UINT    LedNum;
  44.     LONG    lCycleAdjust;
  45.     BOOL    fAdjustTotalCycleTime;
  46.     BOOL    fAdjustOnTime;
  47.     BOOL    fAdjustOffTime;
  48.     BOOL    fMetaCycleOn;
  49.     BOOL    fMetaCycleOff;
  50.     };
  51.  
  52.  
  53.  
  54. #define NLED_SETTINGS_INFO_ID    2
  55.  
  56.  
  57. struct NLED_SETTINGS_INFO
  58.     {
  59.     UINT    LedNum;
  60.     INT        OffOnBlink;
  61.     LONG    TotalCycleTime;
  62.     LONG    OnTime;
  63.     LONG    OffTime;
  64.     INT        MetaCycleOn;
  65.     INT        MetaCycleOff;
  66.     };
  67.  
  68.  
  69. #ifdef __cplusplus
  70. }
  71. #endif
  72.  
  73.  
  74.  
  75. #endif
  76.  
  77.