Windows 2000 Driver Remove Sample

[This is preliminary documentation and subject to change.]

SUMMARY

This is a sample program that can programmatically remove a Device Driver in Windows 2000. This sample also illustrates the usage of many SetupDi API calls.

This sample is compliant with x86 and iA64 platforms. This sample builds properly with Microsoft® Visual C® 6.0. There are no known issues with this application.

BUILDING THE SAMPLE

To build this sample, enter the free or checked build environment and run build from the src\general\install directory. Once built, this sample produces remove.exe.

If the user requires a program that has no console window, the sources file can be changed from “UMTYPE=console” to “UMTYPE=windows”.

CODE TOUR

File Manifest

File           Description
 
remove.c       Source file 
makefile       Standard Windows NT makefile
remove.rc      Resource file 
Sources        Dependency and include file
 

Top of page

 

 

 
 

© Microsoft Corporation 1999