Hi ,
I use a utility which is using setup API's to enable/disable certain virtual
network adapter.
The code simply locates the device and using DIF_PROPERTYCHANGE along with
SetupDiCallClassInstaller
enable/disable the device.
Sometimes after system resume from suspend, when this process call
SetupDiCallClassInstaller it never returns from that call.
From turnning on setup apis debug I got the following:
[2003/07/24 20:40:48 2224.52]: Munged cmdline: "C:\Program
Files\CheckPoint\SecuRemote\bin\vdevm_app.exe" 2
[2003/07/24 20:40:48 2224.52]: EXE name: C:\Program
Files\CheckPoint\SecuRemote\bin\vdevm_app.exe
[2003/07/24 20:40:48 2224.52]: Loading class-installer module for VPN-1
SecureClient Adapter.
[2003/07/24 20:40:48 2224.52]: @ 20:40:48.776 : Verifying file:
C:\WINNT\System32\NetCfgx.dll using key: NetCfgx.dll in catalog: -.
[2003/07/24 20:40:48 2224.52]: @ 20:40:49.236 : Obtained module
"C:\WINNT\System32\NetCfgx.dll" proceedure "NetClassInstaller" for use.
[2003/07/24 20:40:48 2224.52]: Loading co-installer modules for VPN-1
SecureClient Adapter.
[2003/07/24 20:40:48 2224.52]: @ 20:40:49.246 : Device install function:
DIF_PROPERTYCHANGE.
[2003/07/24 20:40:48 2224.52]: @ 20:40:49.246 : Executing class-installer.
[2003/07/24 20:40:48 2224.52]: @ 20:40:49.246 : Completed class-installer.
[2003/07/24 20:40:48 2224.52]: @ 20:40:49.256 : Executing default installer.
If I attach with debugger to this stuck process I could only see that it is
stuck somewhere deep in dll named RPC4.
Gadi.