ReactOS  0.4.12-dev-36-g472787f
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
14  PVOID OperationRegionObject,
15  ULONG Address,
16  ULONG Size,
17  PULONG Data,
19  PACPI_OP_REGION_CALLBACK CompletionHandler,
21 
24  IN ULONG AccessType,
25  IN ULONG RegionSpace,
26  IN PACPI_OP_REGION_HANDLER Handler,
27  IN PVOID Context, IN ULONG Flags,
28  IN OUT PVOID *OperationRegionObject);
29 
32  IN PVOID OperationRegionObject);
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
#define IN
Definition: typedefs.h:38
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)
LONG NTSTATUS
Definition: precomp.h:26
uint32_t ULONG_PTR
Definition: typedefs.h:63
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
_Unreferenced_parameter_ PVOID * CompletionContext
Definition: cdprocs.h:1130
static WCHAR Address[46]
Definition: ping.c:68
_In_ LPGUID _In_ PVOID Data
Definition: classpnp.h:778
VOID(EXPORT * PACPI_OP_REGION_CALLBACK)()
Definition: oprghdlr.h:9
NTSTATUS(EXPORT * PACPI_OP_REGION_HANDLER)(ULONG AccessType, PVOID OperationRegionObject, ULONG Address, ULONG Size, PULONG Data, ULONG_PTR Context, PACPI_OP_REGION_CALLBACK CompletionHandler, PVOID CompletionContext)
Definition: oprghdlr.h:13
#define NTSTATUS
Definition: precomp.h:20
#define VOID
Definition: acefi.h:82
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
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:671
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1560
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:39
struct tagContext Context
Definition: acpixf.h:1027
unsigned int ULONG
Definition: retypes.h:1
NTSTATUS DeRegisterOpRegionHandler(IN PDEVICE_OBJECT DeviceObject, IN PVOID OperationRegionObject)