PRB: CM Warning: Device Does Not Allow Rebalance and Removal

Last reviewed: January 1, 1998
Article ID: Q178655
The information in this article applies to:
  • Windows 95 Device Driver Kit (DDK), version 4.0 on the following platforms: - Windows 95 - x86

SYMPTOMS

Under Windows 95, you may see a debug level 1 warning from the Configuration Manager that a device does not allow rebalance and removal.

CAUSE

Configuration Manager checks the ulFlags parameter passed to CONFIGMG_Register_Device_Driver. If either of the CM_REGISTER_DEVICE_DRIVER_DISABLEABLE or CM_REGISTER_DEVICE_DRIVER_REMOVABLE flags are not set, Configuration Manager sends this warning.

RESOLUTION

When you call CONFIGMG_Register_Device_Driver, specify both the CM_REGISTER_DEVICE_DRIVER_DISABLEABLE and CM_REGISTER_DEVICE_DRIVER_REMOVABLE flags to prevent this debug message from appearing and to allow the rebalance and removal of the device.

STATUS

This behavior is by design.

REFERENCES

For more information on CONFIGMG_Register_Device_Driver see the Windows 95 DDK.

Keywords          : NTDDKVDD
Version           : Win95:4.0
Platform          : Win95
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 1, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.