CONFIGMG_Remove_SubTree


CONFIGRET CONFIGMG_Remove_SubTree(DEVNODE dnAncestor, ULONG ulFlags)

Removes a device node and its children.

dnAncestor

Handle of the device node that is being removed.

ulFlags

Must be zero.

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.

See also CONFIGMG_Query_Remove_SubTree