ReactOS  r75385
oprghdlr.h File Reference
#include "wdm.h"
Include dependency graph for oprghdlr.h:

Go to the source code of this file.

Macros

#define EXPORT   __cdecl
 
#define ACPI_OPREGION_ACCESS_AS_RAW   0x1
 
#define ACPI_OPREGION_ACCESS_AS_COOKED   0x2
 
#define ACPI_OPREGION_REGION_SPACE_MEMORY   0x0
 
#define ACPI_OPREGION_REGION_SPACE_IO   0x1
 
#define ACPI_OPREGION_REGION_SPACE_PCI_CONFIG   0x2
 
#define ACPI_OPREGION_REGION_SPACE_EC   0x3
 
#define ACPI_OPREGION_REGION_SPACE_SMB   0x4
 
#define ACPI_OPREGION_READ   0x0
 
#define ACPI_OPREGION_WRITE   0x1
 
#define ACPI_OPREGION_ACCESS_AT_HIGH_LEVEL   0x1
 

Typedefs

typedef VOID(EXPORTPACPI_OP_REGION_CALLBACK )()
 
typedef PVOID OperationRegionObject
 
typedef PVOID ULONG Address
 
typedef PVOID ULONG ULONG Size
 
typedef PVOID ULONG ULONG PULONG Data
 
typedef PVOID ULONG ULONG
PULONG ULONG_PTR 
Context
 
typedef PVOID ULONG ULONG
PULONG ULONG_PTR
PACPI_OP_REGION_CALLBACK 
CompletionHandler
 
typedef PVOID ULONG ULONG
PULONG ULONG_PTR
PACPI_OP_REGION_CALLBACK PVOID 
CompletionContext
 

Functions

typedef NTSTATUS (EXPORT *PACPI_OP_REGION_HANDLER)(ULONG AccessType
 
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)
 
NTSTATUS DeRegisterOpRegionHandler (IN PDEVICE_OBJECT DeviceObject, IN PVOID OperationRegionObject)
 

Macro Definition Documentation

#define ACPI_OPREGION_ACCESS_AS_COOKED   0x2

Definition at line 35 of file oprghdlr.h.

#define ACPI_OPREGION_ACCESS_AS_RAW   0x1

Definition at line 34 of file oprghdlr.h.

#define ACPI_OPREGION_ACCESS_AT_HIGH_LEVEL   0x1

Definition at line 43 of file oprghdlr.h.

#define ACPI_OPREGION_READ   0x0

Definition at line 41 of file oprghdlr.h.

#define ACPI_OPREGION_REGION_SPACE_EC   0x3

Definition at line 39 of file oprghdlr.h.

#define ACPI_OPREGION_REGION_SPACE_IO   0x1

Definition at line 37 of file oprghdlr.h.

#define ACPI_OPREGION_REGION_SPACE_MEMORY   0x0

Definition at line 36 of file oprghdlr.h.

#define ACPI_OPREGION_REGION_SPACE_PCI_CONFIG   0x2

Definition at line 38 of file oprghdlr.h.

#define ACPI_OPREGION_REGION_SPACE_SMB   0x4

Definition at line 40 of file oprghdlr.h.

#define ACPI_OPREGION_WRITE   0x1

Definition at line 42 of file oprghdlr.h.

Definition at line 6 of file oprghdlr.h.

Typedef Documentation

Definition at line 14 of file oprghdlr.h.

Definition at line 14 of file oprghdlr.h.

Definition at line 14 of file oprghdlr.h.

Definition at line 14 of file oprghdlr.h.

typedef VOID(EXPORT * PACPI_OP_REGION_CALLBACK)()

Definition at line 9 of file oprghdlr.h.

typedef PVOID ULONG ULONG Size

Definition at line 14 of file oprghdlr.h.

Function Documentation

NTSTATUS DeRegisterOpRegionHandler ( IN PDEVICE_OBJECT  DeviceObject,
IN PVOID  OperationRegionObject 
)
typedef NTSTATUS ( EXPORT PACPI_OP_REGION_HANDLER)
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 
)