Calling Configuration Manager from Windows 95 Apps and DLLs (141147)
The information in this article applies to:
- Microsoft Win32 Device Driver Kit (DDK) for Windows NT 4.0
This article was previously published under Q141147 SUMMARY
From a 16-bit Windows-based application or DLL, you can make calls to the
Windows 95 Configuration Manager. However, a 32-bit application or DLL
cannot make Configuration Manager calls directly; to do so, it must thunk
to 16-bit code.
To make Configuration Manager calls from 16-bit Windows-based code, you
must include the Configmg.h header file from the DDK. You must also follow
these steps:
- Use #define Not_VxD before including Configmg.h.
- Ensure that IS_32 is not defined anywhere.
- Include Vmm.h before including Configmg.h.
You need to call Configuration Manager functions from 16-bit Windows-based
code by using the correct naming scheme. The function names should begin
with CM_ not CONFIGMG_.
You may find when making 16-bit Windows-based Configuration Manager
function calls that the names of some flags as documented in the Windows 95
DDK will not work. In this case, use the flag names as they are listed in
the Configmg.h file.
Modification Type: | Major | Last Reviewed: | 8/13/1999 |
---|
Keywords: | KB141147 |
---|
|