ReactOS 0.4.15-dev-7674-gc0b4db1
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
11typedef
14 PVOID OperationRegionObject,
16 ULONG Size,
19 PACPI_OP_REGION_CALLBACK CompletionHandler,
21
24 IN ULONG AccessType,
25 IN ULONG RegionSpace,
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 VOID
Definition: acefi.h:82
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx 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:672
LONG NTSTATUS
Definition: precomp.h:26
#define NTSTATUS
Definition: precomp.h:21
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
NTSTATUS DeRegisterOpRegionHandler(IN PDEVICE_OBJECT DeviceObject, IN PVOID OperationRegionObject)
VOID(EXPORT * PACPI_OP_REGION_CALLBACK)()
Definition: oprghdlr.h:9
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)
static WCHAR Address[46]
Definition: ping.c:68
uint32_t * PULONG
Definition: typedefs.h:59
uint32_t ULONG_PTR
Definition: typedefs.h:65
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_In_ WDFREQUEST _In_opt_ PFN_WDF_REQUEST_COMPLETION_ROUTINE _In_opt_ __drv_aliasesMem WDFCONTEXT CompletionContext
Definition: wdfrequest.h:898
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170