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.

53 lines
1023 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. acpioprg.h
  5. Abstract:
  6. This module is the header for acpioprg.c
  7. Author:
  8. Stephane Plante (splante)
  9. Environment:
  10. NT Kernel Mode Driver Only
  11. --*/
  12. #ifndef _ACPIOPRG_H_
  13. #define _ACPIOPRG_H_
  14. typedef struct _OPREGIONHANDLER {
  15. PFNHND Handler;
  16. PVOID HandlerContext;
  17. ULONG AccessType;
  18. ULONG RegionSpace;
  19. } OPREGIONHANDLER, *POPREGIONHANDLER;
  20. //
  21. // Public interfaces
  22. //
  23. NTSTATUS
  24. RegisterOperationRegionHandler (
  25. PNSOBJ RegionParent,
  26. ULONG AccessType,
  27. ULONG RegionSpace,
  28. PFNHND Handler,
  29. ULONG_PTR Context,
  30. PVOID *OperationRegion
  31. );
  32. NTSTATUS
  33. UnRegisterOperationRegionHandler (
  34. IN PNSOBJ RegionParent,
  35. IN PVOID OperationRegionObject
  36. );
  37. #endif