|
OpenDriver
Opens an instance of an installable driver and initializes the instance using
either the driver's default settings or a driver-specific value.
HDRVR OpenDriver(LPCWSTR lpDriverName, LPCWSTR lpSectionName,
LONG lParam);
Parameters
lpDriverName
Address of a null-terminated, wide-character string that specifies the
filename of an installable driver or the name of a registry value associated with the
installable driver. (This value must have been previously set when the driver
was installed.)
lpSectionName
Address of a null-terminated, wide-character string that specifies the name of
the registry key containing the registry value given by the lpDriverName parameter. If lpSectionName is NULL, the registry key is assumed to be Drivers32.
lParam
32-bit driver-specific value. This value is passed as the lParam2 parameter to the DriverProc function of the installable driver.
Return Value
Returns the handle of the installable driver instance if successful or NULL
otherwise.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|