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.

29 lines
1.1 KiB

  1. DEFINE_GUID(SPSIM_CTL, 0xbdde6934, 0x529d, 0x4183, 0xa9, 0x52, 0xad,
  2. 0xff, 0xb0, 0xdb, 0xb3, 0xdd);
  3. typedef struct _SPSIM_ACCESS_STA {
  4. BOOLEAN WriteOperation;
  5. ULONG Device;
  6. UCHAR StaValue;
  7. } SPSIM_ACCESS_STA, *PSPSIM_ACCESS_STA;
  8. typedef struct _SPSIM_NOTIFY_DEVICE {
  9. ULONG Device;
  10. UCHAR NotifyValue;
  11. } SPSIM_NOTIFY_DEVICE, *PSPSIM_NOTIFY_DEVICE;
  12. typedef struct _SPSIM_DEVICE_NAME {
  13. ULONG Device;
  14. USHORT DeviceNameLength;
  15. WCHAR DeviceName[1];
  16. } SPSIM_DEVICE_NAME, *PSPSIM_DEVICE_NAME;
  17. typedef struct _SPSIM_MANAGED_DEVICES {
  18. ULONG Count;
  19. UCHAR StaValues[1];
  20. } SPSIM_MANAGED_DEVICES, *PSPSIM_MANAGED_DEVICES;
  21. #define IOCTL_SPSIM_ACCESS_STA CTL_CODE(FILE_DEVICE_CONTROLLER,0x0CCC,METHOD_BUFFERED, FILE_ANY_ACCESS)
  22. #define IOCTL_SPSIM_NOTIFY_DEVICE CTL_CODE(FILE_DEVICE_CONTROLLER,0x0CCD,METHOD_BUFFERED, FILE_ANY_ACCESS)
  23. #define IOCTL_SPSIM_GET_DEVICE_NAME CTL_CODE(FILE_DEVICE_CONTROLLER,0x0CCE,METHOD_BUFFERED, FILE_ANY_ACCESS)
  24. #define IOCTL_SPSIM_GET_MANAGED_DEVICES CTL_CODE(FILE_DEVICE_CONTROLLER,0x0CCF,METHOD_BUFFERED, FILE_READ_ACCESS)