Source code of Windows XP (NT5)
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.

47 lines
854 B

  1. /*++
  2. Copyright (c) 1990 Microsoft Corporation
  3. Module Name:
  4. ec.h
  5. Abstract:
  6. Embedded Controller Header File
  7. Author:
  8. Ken Reneris
  9. Environment:
  10. Notes:
  11. Revision History:
  12. --*/
  13. //
  14. // Internal ioctls to EC driver
  15. //
  16. #define EC_CONNECT_QUERY_HANDLER CTL_CODE(FILE_DEVICE_UNKNOWN, 5, METHOD_NEITHER, FILE_ANY_ACCESS)
  17. #define EC_DISCONNECT_QUERY_HANDLER CTL_CODE(FILE_DEVICE_UNKNOWN, 6, METHOD_NEITHER, FILE_ANY_ACCESS)
  18. #define EC_GET_PDO CTL_CODE(FILE_DEVICE_UNKNOWN, 7, METHOD_NEITHER, FILE_ANY_ACCESS)
  19. typedef
  20. VOID
  21. (*PVECTOR_HANDLER) (
  22. IN ULONG QueryVector,
  23. IN PVOID Context
  24. );
  25. typedef struct {
  26. ULONG Vector;
  27. PVECTOR_HANDLER Handler;
  28. PVOID Context;
  29. PVOID AllocationHandle;
  30. } EC_HANDLER_REQUEST, *PEC_HANDLER_REQUEST;