ReactOS  0.4.13-dev-79-gcd489d8
acpiioct.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ACPI_EVAL_INPUT_BUFFER
 
struct  _ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER
 
struct  _ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING
 
struct  _ACPI_METHOD_ARGUMENT
 
struct  _ACPI_EVAL_INPUT_BUFFER_COMPLEX
 
struct  _ACPI_EVAL_OUTPUT_BUFFER
 
struct  _ACPI_MANIPULATE_GLOBAL_LOCK_BUFFER
 
struct  _ACPI_EVAL_INPUT_BUFFER_EX
 
struct  _ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_EX
 
struct  _ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_EX
 
struct  _ACPI_EVAL_INPUT_BUFFER_COMPLEX_EX
 
struct  _ACPI_ENUM_CHILDREN_INPUT_BUFFER
 
struct  _ACPI_ENUM_CHILD
 
struct  _ACPI_ENUM_CHILDREN_OUTPUT_BUFFER
 

Macros

#define ACPI_EVAL_INPUT_BUFFER_SIGNATURE   'BieA'
 
#define ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_SIGNATURE   'IieA'
 
#define ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_SIGNATURE   'SieA'
 
#define ACPI_EVAL_INPUT_BUFFER_COMPLEX_SIGNATURE   'CieA'
 
#define ACPI_EVAL_OUTPUT_BUFFER_SIGNATURE   'BoeA'
 
#define ACPI_EVAL_INPUT_BUFFER_SIGNATURE_EX   'AieA'
 
#define ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_SIGNATURE_EX   'DieA'
 
#define ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_SIGNATURE_EX   'EieA'
 
#define ACPI_EVAL_INPUT_BUFFER_COMPLEX_SIGNATURE_EX   'FieA'
 
#define ACPI_ENUM_CHILDREN_OUTPUT_BUFFER_SIGNATURE   'GieA'
 
#define ACPI_ENUM_CHILDREN_INPUT_BUFFER_SIGNATURE   'HieA'
 
#define ACPI_METHOD_ARGUMENT_INTEGER   0x0
 
#define ACPI_METHOD_ARGUMENT_STRING   0x1
 
#define ACPI_METHOD_ARGUMENT_BUFFER   0x2
 
#define ACPI_METHOD_ARGUMENT_PACKAGE   0x3
 
#define ACPI_METHOD_ARGUMENT_PACKAGE_EX   0x4
 
#define ACPI_ACQUIRE_GLOBAL_LOCK_SIGNATURE   'LgaA'
 
#define ACPI_RELEASE_GLOBAL_LOCK_SIGNATURE   'LgrA'
 
#define ACPI_OBJECT_HAS_CHILDREN   0x1
 
#define ENUM_CHILDREN_IMMEDIATE_ONLY   0x1
 
#define ENUM_CHILDREN_MULTILEVEL   0x2
 
#define ENUM_CHILDREN_NAME_IS_FILTER   0x4
 
#define ACPI_METHOD_ARGUMENT_LENGTH(DataLength)   (FIELD_OFFSET(ACPI_METHOD_ARGUMENT, Data) + max(sizeof(ULONG), DataLength))
 
#define ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT(Argument)   (ACPI_METHOD_ARGUMENT_LENGTH(((PACPI_METHOD_ARGUMENT)Argument)->DataLength))
 
#define ACPI_METHOD_NEXT_ARGUMENT(Argument)
 
#define ACPI_METHOD_SET_ARGUMENT_INTEGER(MethodArgument, IntData)
 
#define ACPI_METHOD_SET_ARGUMENT_STRING(Argument, StrData)
 
#define ACPI_METHOD_SET_ARGUMENT_BUFFER(Argument, BuffData, BuffLength)
 
#define ACPI_ENUM_CHILD_LENGTH_FROM_CHILD(Child)   ( (2* sizeof (ULONG)) + Child->NameLength )
 
#define ACPI_ENUM_CHILD_NEXT(Child)
 
#define IOCTL_ACPI_ASYNC_EVAL_METHOD   CTL_CODE(FILE_DEVICE_ACPI, 0, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_ACPI_EVAL_METHOD   CTL_CODE(FILE_DEVICE_ACPI, 1, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_ACPI_ACQUIRE_GLOBAL_LOCK   CTL_CODE(FILE_DEVICE_ACPI, 4, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_ACPI_RELEASE_GLOBAL_LOCK   CTL_CODE(FILE_DEVICE_ACPI, 5, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_ACPI_EVAL_METHOD_EX   CTL_CODE(FILE_DEVICE_ACPI, 6, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_ACPI_ASYNC_EVAL_METHOD_EX   CTL_CODE(FILE_DEVICE_ACPI, 7, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 
#define IOCTL_ACPI_ENUM_CHILDREN   CTL_CODE(FILE_DEVICE_ACPI, 8, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
 

Typedefs

typedef struct _ACPI_EVAL_INPUT_BUFFER ACPI_EVAL_INPUT_BUFFER
 
typedef struct _ACPI_EVAL_INPUT_BUFFERPACPI_EVAL_INPUT_BUFFER
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGERPACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRINGPACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING
 
typedef struct _ACPI_METHOD_ARGUMENT ACPI_METHOD_ARGUMENT
 
typedef ACPI_METHOD_ARGUMENT UNALIGNEDPACPI_METHOD_ARGUMENT
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_COMPLEX ACPI_EVAL_INPUT_BUFFER_COMPLEX
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_COMPLEXPACPI_EVAL_INPUT_BUFFER_COMPLEX
 
typedef struct _ACPI_EVAL_OUTPUT_BUFFER ACPI_EVAL_OUTPUT_BUFFER
 
typedef ACPI_EVAL_OUTPUT_BUFFER UNALIGNEDPACPI_EVAL_OUTPUT_BUFFER
 
typedef struct _ACPI_MANIPULATE_GLOBAL_LOCK_BUFFER ACPI_MANIPULATE_GLOBAL_LOCK_BUFFER
 
typedef struct _ACPI_MANIPULATE_GLOBAL_LOCK_BUFFERPACPI_MANIPULATE_GLOBAL_LOCK_BUFFER
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_EX ACPI_EVAL_INPUT_BUFFER_EX
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_EXPACPI_EVAL_INPUT_BUFFER_EX
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_EX ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_EX
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_EXPACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_EX
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_EX ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_EX
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_EXPACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_EX
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_COMPLEX_EX ACPI_EVAL_INPUT_BUFFER_COMPLEX_EX
 
typedef struct _ACPI_EVAL_INPUT_BUFFER_COMPLEX_EXPACPI_EVAL_INPUT_BUFFER_COMPLEX_EX
 
typedef struct _ACPI_ENUM_CHILDREN_INPUT_BUFFER ACPI_ENUM_CHILDREN_INPUT_BUFFER
 
typedef struct _ACPI_ENUM_CHILDREN_INPUT_BUFFERPACPI_ENUM_CHILDREN_INPUT_BUFFER
 
typedef struct _ACPI_ENUM_CHILD ACPI_ENUM_CHILD
 
typedef ACPI_ENUM_CHILD UNALIGNEDPACPI_ENUM_CHILD
 
typedef struct _ACPI_ENUM_CHILDREN_OUTPUT_BUFFER ACPI_ENUM_CHILDREN_OUTPUT_BUFFER
 
typedef ACPI_ENUM_CHILDREN_OUTPUT_BUFFER UNALIGNEDPACPI_ENUM_CHILDREN_OUTPUT_BUFFER
 

Macro Definition Documentation

◆ ACPI_ACQUIRE_GLOBAL_LOCK_SIGNATURE

#define ACPI_ACQUIRE_GLOBAL_LOCK_SIGNATURE   'LgaA'

Definition at line 27 of file acpiioct.h.

◆ ACPI_ENUM_CHILD_LENGTH_FROM_CHILD

#define ACPI_ENUM_CHILD_LENGTH_FROM_CHILD (   Child)    ( (2* sizeof (ULONG)) + Child->NameLength )

Definition at line 170 of file acpiioct.h.

◆ ACPI_ENUM_CHILD_NEXT

#define ACPI_ENUM_CHILD_NEXT (   Child)
Value:
ACPI_ENUM_CHILD_LENGTH_FROM_CHILD( Child ) )
unsigned char * PUCHAR
Definition: retypes.h:3
ACPI_ENUM_CHILD UNALIGNED * PACPI_ENUM_CHILD
Definition: acpiioct.h:135
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 void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST ACPI_BUFFER *ReturnObjectBuffer ACPI_DEVICE_INFO **ReturnBuffer ACPI_HANDLE ACPI_HANDLE Child
Definition: acpixf.h:716

Definition at line 173 of file acpiioct.h.

◆ ACPI_ENUM_CHILDREN_INPUT_BUFFER_SIGNATURE

#define ACPI_ENUM_CHILDREN_INPUT_BUFFER_SIGNATURE   'HieA'

Definition at line 18 of file acpiioct.h.

◆ ACPI_ENUM_CHILDREN_OUTPUT_BUFFER_SIGNATURE

#define ACPI_ENUM_CHILDREN_OUTPUT_BUFFER_SIGNATURE   'GieA'

Definition at line 17 of file acpiioct.h.

◆ ACPI_EVAL_INPUT_BUFFER_COMPLEX_SIGNATURE

#define ACPI_EVAL_INPUT_BUFFER_COMPLEX_SIGNATURE   'CieA'

Definition at line 10 of file acpiioct.h.

◆ ACPI_EVAL_INPUT_BUFFER_COMPLEX_SIGNATURE_EX

#define ACPI_EVAL_INPUT_BUFFER_COMPLEX_SIGNATURE_EX   'FieA'

Definition at line 16 of file acpiioct.h.

◆ ACPI_EVAL_INPUT_BUFFER_SIGNATURE

#define ACPI_EVAL_INPUT_BUFFER_SIGNATURE   'BieA'

Definition at line 7 of file acpiioct.h.

◆ ACPI_EVAL_INPUT_BUFFER_SIGNATURE_EX

#define ACPI_EVAL_INPUT_BUFFER_SIGNATURE_EX   'AieA'

Definition at line 13 of file acpiioct.h.

◆ ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_SIGNATURE

#define ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_SIGNATURE   'IieA'

Definition at line 8 of file acpiioct.h.

◆ ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_SIGNATURE_EX

#define ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_SIGNATURE_EX   'DieA'

Definition at line 14 of file acpiioct.h.

◆ ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_SIGNATURE

#define ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_SIGNATURE   'SieA'

Definition at line 9 of file acpiioct.h.

◆ ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_SIGNATURE_EX

#define ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_SIGNATURE_EX   'EieA'

Definition at line 15 of file acpiioct.h.

◆ ACPI_EVAL_OUTPUT_BUFFER_SIGNATURE

#define ACPI_EVAL_OUTPUT_BUFFER_SIGNATURE   'BoeA'

Definition at line 11 of file acpiioct.h.

◆ ACPI_METHOD_ARGUMENT_BUFFER

#define ACPI_METHOD_ARGUMENT_BUFFER   0x2

Definition at line 23 of file acpiioct.h.

◆ ACPI_METHOD_ARGUMENT_INTEGER

#define ACPI_METHOD_ARGUMENT_INTEGER   0x0

Definition at line 21 of file acpiioct.h.

◆ ACPI_METHOD_ARGUMENT_LENGTH

#define ACPI_METHOD_ARGUMENT_LENGTH (   DataLength)    (FIELD_OFFSET(ACPI_METHOD_ARGUMENT, Data) + max(sizeof(ULONG), DataLength))

Definition at line 144 of file acpiioct.h.

◆ ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT

#define ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT (   Argument)    (ACPI_METHOD_ARGUMENT_LENGTH(((PACPI_METHOD_ARGUMENT)Argument)->DataLength))

Definition at line 147 of file acpiioct.h.

◆ ACPI_METHOD_ARGUMENT_PACKAGE

#define ACPI_METHOD_ARGUMENT_PACKAGE   0x3

Definition at line 24 of file acpiioct.h.

◆ ACPI_METHOD_ARGUMENT_PACKAGE_EX

#define ACPI_METHOD_ARGUMENT_PACKAGE_EX   0x4

Definition at line 25 of file acpiioct.h.

◆ ACPI_METHOD_ARGUMENT_STRING

#define ACPI_METHOD_ARGUMENT_STRING   0x1

Definition at line 22 of file acpiioct.h.

◆ ACPI_METHOD_NEXT_ARGUMENT

#define ACPI_METHOD_NEXT_ARGUMENT (   Argument)
Value:
(PACPI_METHOD_ARGUMENT) ( (PUCHAR) Argument + \
ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT( Argument ) )
unsigned char * PUCHAR
Definition: retypes.h:3
ACPI_METHOD_ARGUMENT UNALIGNED * PACPI_METHOD_ARGUMENT
Definition: acpiioct.h:71

Definition at line 150 of file acpiioct.h.

◆ ACPI_METHOD_SET_ARGUMENT_BUFFER

#define ACPI_METHOD_SET_ARGUMENT_BUFFER (   Argument,
  BuffData,
  BuffLength 
)
Value:
{ Argument->Type = ACPI_METHOD_ARGUMENT_BUFFER; \
Argument->DataLength = BuffLength; \
RtlCopyMemory(&Argument->Data[0],(PUCHAR)BuffData,Argument->DataLength); }
#define ACPI_METHOD_ARGUMENT_BUFFER
Definition: acpiioct.h:23
unsigned char * PUCHAR
Definition: retypes.h:3

Definition at line 165 of file acpiioct.h.

◆ ACPI_METHOD_SET_ARGUMENT_INTEGER

#define ACPI_METHOD_SET_ARGUMENT_INTEGER (   MethodArgument,
  IntData 
)
Value:
{ MethodArgument->Type = ACPI_METHOD_ARGUMENT_INTEGER; \
MethodArgument->DataLength = sizeof(ULONG); \
MethodArgument->Argument = IntData; }
#define ACPI_METHOD_ARGUMENT_INTEGER
Definition: acpiioct.h:21
unsigned int ULONG
Definition: retypes.h:1

Definition at line 155 of file acpiioct.h.

◆ ACPI_METHOD_SET_ARGUMENT_STRING

#define ACPI_METHOD_SET_ARGUMENT_STRING (   Argument,
  StrData 
)
Value:
{ Argument->Type = ACPI_METHOD_ARGUMENT_STRING; \
Argument->DataLength = strlen((PCHAR)StrData) + sizeof(UCHAR); \
RtlCopyMemory(&Argument->Data[0],(PUCHAR)StrData,Argument->DataLength); }
signed char * PCHAR
Definition: retypes.h:7
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
unsigned char * PUCHAR
Definition: retypes.h:3
#define ACPI_METHOD_ARGUMENT_STRING
Definition: acpiioct.h:22
unsigned char UCHAR
Definition: xmlstorage.h:181

Definition at line 160 of file acpiioct.h.

◆ ACPI_OBJECT_HAS_CHILDREN

#define ACPI_OBJECT_HAS_CHILDREN   0x1

Definition at line 30 of file acpiioct.h.

◆ ACPI_RELEASE_GLOBAL_LOCK_SIGNATURE

#define ACPI_RELEASE_GLOBAL_LOCK_SIGNATURE   'LgrA'

Definition at line 28 of file acpiioct.h.

◆ ENUM_CHILDREN_IMMEDIATE_ONLY

#define ENUM_CHILDREN_IMMEDIATE_ONLY   0x1

Definition at line 32 of file acpiioct.h.

◆ ENUM_CHILDREN_MULTILEVEL

#define ENUM_CHILDREN_MULTILEVEL   0x2

Definition at line 33 of file acpiioct.h.

◆ ENUM_CHILDREN_NAME_IS_FILTER

#define ENUM_CHILDREN_NAME_IS_FILTER   0x4

Definition at line 34 of file acpiioct.h.

◆ IOCTL_ACPI_ACQUIRE_GLOBAL_LOCK

#define IOCTL_ACPI_ACQUIRE_GLOBAL_LOCK   CTL_CODE(FILE_DEVICE_ACPI, 4, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 179 of file acpiioct.h.

◆ IOCTL_ACPI_ASYNC_EVAL_METHOD

Definition at line 177 of file acpiioct.h.

◆ IOCTL_ACPI_ASYNC_EVAL_METHOD_EX

#define IOCTL_ACPI_ASYNC_EVAL_METHOD_EX   CTL_CODE(FILE_DEVICE_ACPI, 7, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 184 of file acpiioct.h.

◆ IOCTL_ACPI_ENUM_CHILDREN

Definition at line 185 of file acpiioct.h.

◆ IOCTL_ACPI_EVAL_METHOD

Definition at line 178 of file acpiioct.h.

◆ IOCTL_ACPI_EVAL_METHOD_EX

Definition at line 183 of file acpiioct.h.

◆ IOCTL_ACPI_RELEASE_GLOBAL_LOCK

#define IOCTL_ACPI_RELEASE_GLOBAL_LOCK   CTL_CODE(FILE_DEVICE_ACPI, 5, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)

Definition at line 180 of file acpiioct.h.

Typedef Documentation

◆ ACPI_ENUM_CHILD

◆ ACPI_ENUM_CHILDREN_INPUT_BUFFER

◆ ACPI_ENUM_CHILDREN_OUTPUT_BUFFER

◆ ACPI_EVAL_INPUT_BUFFER

◆ ACPI_EVAL_INPUT_BUFFER_COMPLEX

◆ ACPI_EVAL_INPUT_BUFFER_COMPLEX_EX

◆ ACPI_EVAL_INPUT_BUFFER_EX

◆ ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER

◆ ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_EX

◆ ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING

◆ ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_EX

◆ ACPI_EVAL_OUTPUT_BUFFER

◆ ACPI_MANIPULATE_GLOBAL_LOCK_BUFFER

◆ ACPI_METHOD_ARGUMENT

◆ PACPI_ENUM_CHILD

Definition at line 135 of file acpiioct.h.

◆ PACPI_ENUM_CHILDREN_INPUT_BUFFER

◆ PACPI_ENUM_CHILDREN_OUTPUT_BUFFER

◆ PACPI_EVAL_INPUT_BUFFER

◆ PACPI_EVAL_INPUT_BUFFER_COMPLEX

◆ PACPI_EVAL_INPUT_BUFFER_COMPLEX_EX

◆ PACPI_EVAL_INPUT_BUFFER_EX

◆ PACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER

◆ PACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_EX

◆ PACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING

◆ PACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_EX

◆ PACPI_EVAL_OUTPUT_BUFFER

◆ PACPI_MANIPULATE_GLOBAL_LOCK_BUFFER

◆ PACPI_METHOD_ARGUMENT

Definition at line 71 of file acpiioct.h.