Expand Minimize

RPMUnregisterAlternateDriver routine

The RPMUnregisterAlternateDriver routine allows a previously registered client to unregister itself.

Syntax


NTSTATUS RPMUnregisterAlternateDriver(
  _In_  HANDLE RegisteredDriver
);

Parameters

RegisteredDriver [in]

A handle that represents the registration that needs to be removed. This handle is returned by a call to the RPMRegisterAlternateDriver routine.

Return value

This routine always returns STATUS_SUCCESS if RegisteredDriver handle is valid. Other appropriate error status values may also be returned.

Remarks

The client is responsible to unload every loaded instance of the alternate driver by calling RPMUnloadAlternateDriverForDevice before it unregisters.

Requirements

Version

Available only in Windows 7.

Header

Usbrpmif.h (include Usbrpmif.h)

Library

Usbrpm.lib

IRQL

PASSIVE_LEVEL

See also

RPMRegisterAlternateDriver
RPMUnloadAlternateDriverForDevice
USB Device Redirection Routines

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft