IOCTL_ACPI_EVAL_METHOD for a descendant child object of the device

I need to evaluate a control method that is a descendant child of the device
in ACPI namespace. The problem is IOCTL_ACPI_EVAL_METHOD can only support an
immediate child object in ACPI namespace. In Vista or Windows 7, I can use
IOCTL_ACPI_ENUM_CHILDREN recursively enumerate all the child devices and
IOCTL_ACPI_EVAL_METHOD_EX evaluate a control method in child device. How to
do the same thing in Windows XP?

-Thanks

There isn’t an easy way to do that before Vista. You have to find the
device node and send the IOCTL there.

Jake Oshins
Hyper-V I/O Architect
Windows Kernel Group

This post implies no warranties and confers no rights.


“David Wu” wrote in message news:xxxxx@ntdev…

I need to evaluate a control method that is a descendant child of the device
in ACPI namespace. The problem is IOCTL_ACPI_EVAL_METHOD can only support an
immediate child object in ACPI namespace. In Vista or Windows 7, I can use
IOCTL_ACPI_ENUM_CHILDREN recursively enumerate all the child devices and
IOCTL_ACPI_EVAL_METHOD_EX evaluate a control method in child device. How to
do the same thing in Windows XP?

-Thanks