{
ACPI_NAMESPACE_NODE *NextNode = NULL;
ACPI_FUNCTION_ENTRY ();
NextNode = AcpiNsGetNextNode (ParentNode, ChildNode);
/* If any type is OK, we are done */if (Type == ACPI_TYPE_ANY)
{
/* NextNode is NULL if we are at the end-of-list */return (NextNode);
}
/* Must search for the node -- but within this scope only */while (NextNode)
{
/* If type matches, we are done */if (NextNode->Type == Type)
{
return (NextNode);
}
/* Otherwise, move on to the next peer node */
NextNode = NextNode->Peer;
}
/* Not found */return (NULL);
}
Generated on Sun May 27 2012 05:22:39 for ReactOS by
1.7.6.1
ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.