public void Unregister( string DriverID )
Public Sub Unregister ( DriverID As String )
public: virtual void Unregister( String^ DriverID ) sealed
This deletes the entire device profile tree, including the DriverID root key.
Unregister must only be called if the driver has already been registered. If you are not sure use the IsRegistered function to check the status and only unregister if the driver is registered.