HOWTO: Synchronous Use of CONFIGMG_Reenumerate_DevNode (262557)



The information in this article applies to:

  • Microsoft Windows 95 Driver Development Kit (DDK)
  • Microsoft Windows 98 Driver Development Kit (DDK)

This article was previously published under Q262557

SUMMARY

CONFIGMG_Reenumerate_DevNode is typically used to enumerate branches of the hardware tree. This service causes the enumerator of the specified device node to receive the CONFIG_ENUMERATE enumerator function.

The Windows 95 and Windows 98 DDK documentation for CONFIGMG_Renumerate_Devnode states that the second parameter, ulFlags, must be zero. Actually, this service may be called with the CM_REENUMERATE_SYNCHRONOUS flag, as listed in the Configmg.h file. This flag causes the enumeration to occur synchronously, which may be desirable in certain cases when the calling code needs to know when the enumeration is complete.

MORE INFORMATION

On a Windows 95- or Windows 98-based computer, using the CM_REENUMATE_SYNCHRONOUS flag causes the enumeration process to wait until child devices have actually started, before proceeding to enumerate the remainder of the hardware tree.

In Windows Millennium Edition (Me), this behavior has been changed. In order to prevent deadlocks, the enumeration process no longer waits for child devices to start before enumerating the rest of the tree.

REFERENCES

See the Windows 95/98 DDK for more information on Configuration Manager services.

Modification Type:MajorLast Reviewed:11/3/2003
Keywords:kbhowto KB262557