次の方法で共有


コントロール メソッドマクロ

ドライバーは、次のマクロを使用して、 制御メソッドを評価する 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