ReactOS  r74405
oprghdlr.h
Go to the documentation of this file.
1 #include "wdm.h"
2 
3 #ifdef EXPORT
4  #undef EXPORT
5 #endif
6 #define EXPORT __cdecl
7 
8 
10 
11 typedef
13 (EXPORT *PACPI_OP_REGION_HANDLER) (ULONG AccessType,
15  ULONG Address,
16  ULONG Size,
17  PULONG Data,
21 
24  IN ULONG AccessType,
25  IN ULONG RegionSpace,
26  IN PACPI_OP_REGION_HANDLER Handler,
29 
33 
34 #define ACPI_OPREGION_ACCESS_AS_RAW 0x1
35 #define ACPI_OPREGION_ACCESS_AS_COOKED 0x2
36 #define ACPI_OPREGION_REGION_SPACE_MEMORY 0x0
37 #define ACPI_OPREGION_REGION_SPACE_IO 0x1
38 #define ACPI_OPREGION_REGION_SPACE_PCI_CONFIG 0x2
39 #define ACPI_OPREGION_REGION_SPACE_EC 0x3
40 #define ACPI_OPREGION_REGION_SPACE_SMB 0x4
41 #define ACPI_OPREGION_READ 0x0
42 #define ACPI_OPREGION_WRITE 0x1
43 #define ACPI_OPREGION_ACCESS_AT_HIGH_LEVEL 0x1
DWORD *typedef PVOID
Definition: winlogon.h:52
#define IN
Definition: typedefs.h:39
PVOID ULONG ULONG Size
Definition: oprghdlr.h:14
PVOID ULONG Address
Definition: oprghdlr.h:14
NTSTATUS RegisterOpRegionHandler(IN PDEVICE_OBJECT DeviceObject, IN ULONG AccessType, IN ULONG RegionSpace, IN PACPI_OP_REGION_HANDLER Handler, IN PVOID Context, IN ULONG Flags, IN OUT PVOID *OperationRegionObject)
PVOID ULONG ULONG PULONG ULONG_PTR PACPI_OP_REGION_CALLBACK PVOID CompletionContext
Definition: oprghdlr.h:14
PVOID ULONG ULONG PULONG ULONG_PTR Context
Definition: oprghdlr.h:14
PVOID ULONG ULONG PULONG Data
Definition: oprghdlr.h:14
_In_ PLARGE_INTEGER _In_ ULONG _In_ BOOLEAN _In_ ULONG _Out_ PVOID _Out_ PIO_STATUS_BLOCK _In_ PDEVICE_OBJECT DeviceObject
Definition: npfs.h:636
uint32_t ULONG_PTR
Definition: typedefs.h:64
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
PVOID OperationRegionObject
Definition: oprghdlr.h:14
VOID(EXPORT * PACPI_OP_REGION_CALLBACK)()
Definition: oprghdlr.h:9
#define VOID
Definition: acefi.h:69
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn BOOLEAN Physical UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER Handler
Definition: acpixf.h:657
typedef NTSTATUS(EXPORT *PACPI_OP_REGION_HANDLER)(ULONG AccessType
LONG NTSTATUS
Definition: DriverTester.h:11
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
PVOID ULONG ULONG PULONG ULONG_PTR PACPI_OP_REGION_CALLBACK CompletionHandler
Definition: oprghdlr.h:14
NTSTATUS DeRegisterOpRegionHandler(IN PDEVICE_OBJECT DeviceObject, IN PVOID OperationRegionObject)