ACPI_ENUM_CHILD_NEXT macro

The ACPI_ENUM_CHILD_NEXT macro calculates a pointer to the next ACPI_ENUM_CHILD structure in an array of variable length ACPI_ENUM_CHILD structures.

Syntax

void ACPI_ENUM_CHILD_NEXT(
    Child
);

Parameters

Child A pointer to a variable of type ACPI_ENUM_CHILD for which to return a nonaligned pointer to the next ACPI_ENUM_CHILD structure in an array of variable-length ACPI_ENUM_CHILD structures.

Return value

A pointer to the next ACPI_ENUM_CHILD structure in an array of variable-length ACPI_ENUM_CHILD structures.

Remarks

After a driver uses an IOCTL_ACPI_ENUM_CHILDREN request to retrieve an array of child device names in an ACPI_ENUM_CHILDREN_OUTPUT_BUFFER request, the driver can use this macro to determine a sequence of pointers to the variable-length ACPI_ENUM_CHILD structures in the Children array that the output buffer contains.

Requirements

Target platform: Desktop

Header: acpiioct.h (include Acpiioct.h)

See also

ACPI_ENUM_CHILD

ACPI_ENUM_CHILDREN_OUTPUT_BUFFER

IOCTL_ACPI_ENUM_CHILDREN