How to Use/Replace Windows 95 Hardware Wizard in Custom Code

ID: Q153383


The information in this article applies to:
  • Microsoft Win32 Device Driver Kit (DDK) Windows 95


SUMMARY

Someone developing their own setup utility for a hardware device might ask, how to use and or replace the Hardware Wizard in utility source code.

The short answer to emulating Hardware Wizard is that you cannot. The details of all the registry devnodes and entries is not meant to be completely documented. This is true also of the details of how the Hardware Wizard operates on the registry entries that it makes uniquely.

Running the Hardware Wizard is another matter. It is easy to do this in an application by using the WinExec() function to run the following line:


   control.exe sysdm.cpl,Add New Hardware 

For a general form showing how to run any control applet, please see the "How to Start a Control Panel Applet in Windows 95" article in MSDN Library CD-ROM.


REFERENCES

Windows 95 SDK/DDK/MSDN Library CDs

Keywords : kbnokeyword kbDDK
Version : 4.00
Platform : WINDOWS
Issue type :


Last Reviewed: March 5, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.