Discussion:
Signature of undocumented InstallDevInstEx,...
(too old to reply)
Kerem Gümrükcü
2008-08-05 17:06:00 UTC
Permalink
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."
Christian ASTOR
2008-08-05 20:57:16 UTC
Permalink
Post by Kerem Gümrükcü
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)
Kerem Gümrükcü
2008-08-05 22:46:14 UTC
Permalink
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."
Post by Christian ASTOR
Post by Kerem Gümrükcü
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)
Loading...