From: Kerem Gümrükcü on
Hi,

i want to show the Device Driver Update Dialog for
a particular Device from my Application and after
backtracking the Device Manager Activities i found
out, that this will be done with the undocumented
InstallDevInstEx. But my Debugger still crashes before
i can analyse the parameters. Does someone have a
function signature of the InstallDevInstEx? The C Language
version will be appreciated,...

Thanks in advance,...

Regards

Kerem

--
-----------------------
Beste Gr�sse / Best regards / Votre bien devoue
Kerem G�mr�kc�
Latest Project: http://www.codeplex.com/restarts
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."

From: Christian ASTOR on
Kerem G�mr�kc� wrote:

> i want to show the Device Driver Update Dialog for
> a particular Device from my Application and after
> backtracking the Device Manager Activities i found
> out, that this will be done with the undocumented
> InstallDevInstEx. But my Debugger still crashes before
> i can analyse the parameters. Does someone have a
> function signature of the InstallDevInstEx? The C Language
> version will be appreciated,...

InstallDevInstEx() is called by InstallDevInst() to display the dialog

For InstallDevInst(), =>

typedef BOOL (WINAPI *PINSTALLDEVINST)(HWND hWnd, LPWSTR wszDeviceId,
BOOL bUpdate, DWORD* dwReboot);
PINSTALLDEVINST InstallDevInst;

wszDeviceId is given by
CM_Get_Device_IDW() or CM_Get_Device_ID_ExW()
(#define _UNICODE)
From: Kerem Gümrükcü on
Hi Christian,

that's sugar, thanks a million,...!

Regards

Kerem


--
-----------------------
Beste Gr�sse / Best regards / Votre bien devoue
Kerem G�mr�kc�
Latest Project: http://www.codeplex.com/restarts
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
"Christian ASTOR" <castorix(a)club-internet.fr> schrieb im Newsbeitrag
news:4898be50$0$292$7a628cd7(a)news.club-internet.fr...
> Kerem G�mr�kc� wrote:
>
>> i want to show the Device Driver Update Dialog for
>> a particular Device from my Application and after
>> backtracking the Device Manager Activities i found
>> out, that this will be done with the undocumented
>> InstallDevInstEx. But my Debugger still crashes before
>> i can analyse the parameters. Does someone have a
>> function signature of the InstallDevInstEx? The C Language
>> version will be appreciated,...
>
> InstallDevInstEx() is called by InstallDevInst() to display the dialog
>
> For InstallDevInst(), =>
>
> typedef BOOL (WINAPI *PINSTALLDEVINST)(HWND hWnd, LPWSTR wszDeviceId, BOOL
> bUpdate, DWORD* dwReboot);
> PINSTALLDEVINST InstallDevInst;
>
> wszDeviceId is given by
> CM_Get_Device_IDW() or CM_Get_Device_ID_ExW()
> (#define _UNICODE)