Control Method Macros
A driver can use the following macros to set input arguments that are used with the ACPI IOCTLs that evaluate control methods:
ACPI_METHOD_SET_ARGUMENT_INTEGER
ACPI_METHOD_SET_ARGUMENT_STRING
ACPI_METHOD_SET_ARGUMENT_BUFFER
The ACPI IOCTLs that evaluate control methods return output arguments in the Argument member of an ACPI_EVAL_OUTPUT_BUFFER structure, where the Argument member is an array of ACPI_METHOD_ARGUMENT structures. A driver can use the following macros to help process an array of ACPI_METHOD_ARGUMENT structures:
ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT
An IOCTL_ACPI_ENUM_CHILDREN request retrieves the path and name of child objects in the namespace of the device to which the request is sent. The ACPI driver returns the full path and name of the enumerated object beginning with the root of the ACPI namespace. The path and name of the child objects are returned in the Children member of an ACPI_ENUM_CHILDREN_OUTPUT_BUFFER structure, where the Children member is an array of ACPI_ENUM_CHILD structures. A driver can use the following macros to help process an array of ACPI_ENUM_CHILD structures: