CONFIGRET CONFIGMG_Remove_SubTree(DEVNODE dnAncestor, ULONG ulFlags)
Removes a device node and its children.
Configuration Manager notifies each device node in the subtree of the dnAncestor parameter of its imminent termination and then, if possible, frees the device nodes. If a PCMCIA SCSI card were removed, for example, the PCMCIA driver would use this function to remove the entire subtree from the hardware tree.
CONFIGMG_Query_Remove_SubTree