From: ttan on 18 Jan 2007 14:25 Hi! I'm using the snetcfg to install my driver and it hang right after the installation complete. Does // get INetCfg interface hr = HrGetINetCfg(TRUE, &pnc); really need it in HRESULT HrInstallNetComponent(IN PCWSTR szComponentId, IN enum NetClass nc, IN PCWSTR szInfFullPath, IN HANDLE hFile) because my guest is the snetcfg.exe get hang when it release INetCfg (void) HrReleaseINetCfg(TRUE, pnc). When I compared with ProtInstall dowload from Pcausa and ProtInstall.exe doesn't call // get INetCfg interface hr = HrGetINetCfg(TRUE, &pnc); before it install the dirver. Is there a way that I can have a previlege over the interface before other program? thanks, ttan
From: Stephan Wolf [MVP] on 18 Jan 2007 14:44 ttan wrote: > Is there a way that I can have a previlege over the interface before other > program? AFAIK, no. Try and enable NETCFG traces, see "Getting Trace from NETCFG.DLL" http://www.ndis.com/papers/ Stephan
|
Pages: 1 Prev: Resetting the USB stack Next: XP: PCI slot number identification |