Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.2 KiB

  1. #ifndef _HPWMI_
  2. #define _HPWMI_
  3. //
  4. // WMI stuff
  5. //
  6. #define HPS_CONTROLLER_EVENT_GUID_INDEX 0
  7. #define HPS_EVENT_CONTEXT_GUID_INDEX 1
  8. #define HPS_INIT_DATA_GUID_INDEX 2
  9. #define HPS_SLOT_METHOD_GUID_INDEX 3
  10. //
  11. // Set slot state events
  12. //
  13. DEFINE_GUID(GUID_HPS_CONTROLLER_EVENT, 0x0cfc84ce, 0xbfd9, 0x4724,
  14. 0x9c, 0xaa, 0xc0, 0xea, 0xef, 0x95, 0x2e, 0x26);
  15. //
  16. // Data Instance giving context to controller events
  17. //
  18. DEFINE_GUID(GUID_HPS_EVENT_CONTEXT, 0x2488ab8b, 0xdd5e, 0x48a8,
  19. 0x83, 0x98, 0x52, 0x4d, 0x2b, 0xf5, 0x67, 0xea);
  20. //
  21. // Data Instance of the SHPC's initialization data
  22. //
  23. DEFINE_GUID(GUID_HPS_INIT_DATA, 0x085ac722, 0x2c84, 0x4c4e,
  24. 0xa3, 0xe7, 0xff, 0xd8, 0xc8, 0x6e, 0x4b, 0x12);
  25. //
  26. // Method called when there is a slot event (attention button, etc)
  27. //
  28. DEFINE_GUID(GUID_HPS_SLOT_METHOD, 0x1842b66a, 0xb405, 0x4f84,
  29. 0x9c, 0xc6, 0x29, 0xde, 0x1d, 0xc1, 0xe1, 0x2a);
  30. #define SlotMethod 1
  31. #define AddDeviceMethod 2
  32. #define RemoveDeviceMethod 3
  33. #define GetDeviceMethod 4
  34. #define GetSlotStatusMethod 5
  35. #define CommandCompleteMethod 6
  36. #endif