Patent ID: 6938243

Claim:
A method performed by a computer system comprising: providing a test module for dynamically reinstalling an associated test module interface at anytime without rebooting the computer system, in response to a device change associated with the test module; in response, unloading the test module associated with the changed device and causing its test module interface to be reinstalled without rebooting the computer system; using a registration module to register uses of the test module by a plurality of programs so that no other program attempts can access information associated with the test module after it unloads; in response to the test module seeking to unload, accessing the registration module to determine what other programs are registered as using the test module; notifying each of the programs to stop using the test module; each program responding that they have stopped using the test module or are still using the test module; the test module causing itself to unload in response to programs responding that using the test module is stopped; and the test module cancelling unloading in response to programs responding that the test module is being used, whereby the test module may unload at a later time.