다음을 통해 공유


컨트롤 메서드 입력 버퍼 구조

The ACPI driver supports the IOCTL_ACPI_EVAL_METHOD request. 디바이스의 드라이버는 이 요청을 사용하여 요청이 전송되는 디바이스의 ACPI 네임스페이스에 있는 직제 자식 개체인 제어 메서드를 평가할 수 있습니다. The IOCTL_ACPI_EVAL_METHOD request supports the following input structures:

Input structure Description
ACPI_EVAL_INPUT_BUFFER 입력 인수를 사용하지 않는 컨트롤 메서드의 이름과 버퍼의 시그니처를 제공합니다.
ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER 구조체의 서명, 컨트롤 메서드의 이름 및 ULONG 형식의 단일 입력 인수 값을 제공합니다.
ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING 구조체의 서명, 컨트롤 메서드의 이름 및 NULL로 끝나는 ASCII 문자열인 입력 인수를 제공합니다.
ACPI_EVAL_INPUT_BUFFER_COMPLEX Supplies the signature of the structure, the name of a control method, and an input array of ACPI_METHOD_ARGUMENT structures. 배열에는 최대 7개의 구조체가 포함될 수 있습니다. ACPI_METHOD_ARGUMENT 구조체에는 ULONG 정수, ASCII 문자열, ACPI 패키지 설명 또는 사용자 지정 데이터 배열이 포함될 수 있습니다.

Windows also supports the IOCTL_ACPI_EVAL_METHOD_EX request. 디바이스용 드라이버는 이 요청을 사용하여 요청이 전송되는 디바이스의 ACPI 네임스페이스에 있는 하위 자식 개체인 제어 메서드를 평가할 수 있습니다. The IOCTL_ACPI_EVAL_METHOD_EX request supports the following input structures:

Input structure Description
ACPI_EVAL_INPUT_BUFFER_EX 는 입력 인수를 사용하지 않는 컨트롤 메서드의 경로 및 이름 및 구조체의 시그니처를 제공합니다.
ACPI_EVAL_INPUT_BUFFER_SIMPLE_INTEGER_EX 는 입력 인수로 ULONG64 형식의 단일 정수로 사용하는 컨트롤 메서드의 경로 및 이름 및 구조체의 시그니처를 제공합니다.
ACPI_EVAL_INPUT_BUFFER_SIMPLE_STRING_EX 에서는 단일 NULL 종료 ASCII 문자열을 입력 인수로 사용하는 컨트롤 메서드의 경로 및 이름 및 구조체의 시그니처를 제공합니다.
ACPI_EVAL_INPUT_BUFFER_COMPLEX_EX supplies the signature of the structure and the path and name of a control method that takes an array of ACPI_METHOD_ARGUMENT structures as input. 배열에는 최대 7개의 구조체가 포함될 수 있습니다. An ACPI_METHOD_ARGUMENT structure can contain a ULONG integer, an ASCII string, an ACPI package description, or an array of custom data.

To obtain the path and name of child objects in the ACPI namespace of a device, a driver for a device can use an IOCTL_ACPI_ENUM_CHILDREN request, as described in Enumerating Child Devices and Control Methods.