다음을 통해 공유


Control 메서드 매크로

드라이버는 다음 매크로를 사용하여 제어 메서드를 평가하는 ACPI IOCTL과 함께 사용되는 입력 인수를 설정할 수 있습니다.

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. 드라이버는 다음 매크로를 사용하여 ACPI_METHOD_ARGUMENT 구조의 배열을 처리할 수 있습니다.

ACPI_METHOD_ARGUMENT_LENGTH

ACPI_METHOD_ARGUMENT_LENGTH_FROM_ARGUMENT

ACPI_METHOD_NEXT_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. ACPI 드라이버는 ACPI 네임스페이스의 루트로 시작하는 열거형 개체의 전체 경로와 이름을 반환합니다. 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. 드라이버는 다음 매크로를 사용하여 ACPI_ENUM_CHILD 구조의 배열을 처리할 수 있습니다.

ACPI_ENUM_CHILD_NEXT

ACPI_ENUM_CHILD_LENGTH_FROM_CHILD