Hi all,
now i have the driver that supports multiple instances. (Thanks to everybody
replied my msgs...).
My driver has a related DLL to support a custom PropertiesSheet in the
DeviceManager.
How can point to the correct instance starting from the data arriving to the
PSProvider() function ?
Thanks !
Ing. Stefano Mora
EOS S.r.l.
via Lega dei carrettieri, 1
43038 Sala Baganza (Parma) IT
email: xxxxx@eos.pr.it
Hi,
i need to know how to retrieve the index of the current instance of the driver
selected on the Device Manager applet.
Until the driver was a single-instance driver i read always in the following way
(inside my custom DLL) :
if (RegOpenKey(HKEY_LOCAL_MACHINE,
“SYSTEM\CurrentControlSet\Services\RemSer\Enum”, …
if (RegQueryValueEx(svcKey, “0”, NULL, NULL, NULL, &valSize) !=
ERROR_SUCCESS) …
But now the driver is multiple-instance and i must discover in the DLL which
instance i’m pointing, starting from the data passed to the DLL.
Can anyone can help me ?
Thanks !
----- Original Message -----
From: “Stefano Mora - EOS S.r.l.”
Newsgroups: ntdev
To: “ntdev”
Sent: Monday, September 20, 2004 12:42 PM
Subject: Reference to the driver into PropertiesSheet
> Hi all,
> now i have the driver that supports multiple instances. (Thanks to everybody
> replied my msgs…).
> My driver has a related DLL to support a custom PropertiesSheet in the
> DeviceManager.
> How can point to the correct instance starting from the data arriving to the
> PSProvider() function ?
>
> Thanks !
> –
> Ing. Stefano Mora
> EOS S.r.l.
> via Lega dei carrettieri, 1
> 43038 Sala Baganza (Parma) IT
> email: xxxxx@eos.pr.it
>
>
>