DIFx and NDIS IM drivers

Hi all.

Is it possible to use DIFx (2.01) to install an NDIS IM driver?

I tried installing the passthru sample with both DPINST and with the DIFx
APIs (creating an
ad-hoc app for it).

This is the output from my app

Evt desc = ENTER: DriverPackageInstallA Info: 00000000
Evt desc = ENTER: DriverPackageInstallW Info: 00000000
Evt desc = Copied ‘netsf.inf’ to driver store… Info: 00000000
Evt desc = Commiting queue… Info: 00000000
Evt desc = Copied file: ‘C:\passthru.sys’ ->
'C:\WINDOWS\system32\DRVSTORE\netsf
0DCA6B416B86169F11F72E1BAD017E0ECE073C99\passthru.sys’. Info: 00000000
Evt desc = Installing INF file
“C:\WINDOWS\system32\DRVSTORE\netsf_0DCA6B416B861
69F11F72E1BAD017E0ECE073C99\netsf.inf” of Type 6. Info: 00000000
Evt desc = Looking for Model Section [MSFT.NTx86]… Info: 00000000
Evt desc = No matching devices found in INF
"C:\WINDOWS\system32\DRVSTORE\netsf

0DCA6B416B86169F11F72E1BAD017E0ECE073C99\netsf.inf" on the Machine. Info:
000000
00
Evt desc = No drivers installed. No devices found that match driver(s)
contained
in
‘C:\WINDOWS\system32\DRVSTORE\netsf_0DCA6B416B86169F11F72E1BAD017E0ECE073C99
\netsf.inf’. Info: 00000000
Evt desc = Installation completed with code 0xE000020B. Log: success
Evt desc = RETURN: DriverPackageInstallW (0xE000020B) Info: 00000000
Evt desc = RETURN: DriverPackageInstallA (0xE000020B) Info: 00000000
Unknown error: e000020b

If DIFx doesn’t work, I think that the only solution is using the INetCfg
interface, following the bindview example, right?

Have a nice day
GV

Since nobody else has take a shot at this…

I’ve never actually gotten around to using DIFx, so I’m shooting from the
hip a little. But, I seem to remember sitting in a product group session at
the last MVP summit discussing DIFx and hearing that this it doesn’t handle
IM drivers. Seemed like it didn’t handle the 2-INF case properly or
something. Maybe Mark or Tim or Maxim would remember; they were there too.

-Steve

On 6/30/06 11:01 AM, “Gianluca Varenni” wrote:

> Hi all.
>
> Is it possible to use DIFx (2.01) to install an NDIS IM driver?
>
> I tried installing the passthru sample with both DPINST and with the DIFx
> APIs (creating an
> ad-hoc app for it).
>
> This is the output from my app
>
> Evt desc = ENTER: DriverPackageInstallA Info: 00000000
> Evt desc = ENTER: DriverPackageInstallW Info: 00000000
> Evt desc = Copied ‘netsf.inf’ to driver store… Info: 00000000
> Evt desc = Commiting queue… Info: 00000000
> Evt desc = Copied file: ‘C:\passthru.sys’ ->
> 'C:\WINDOWS\system32\DRVSTORE\netsf
> 0DCA6B416B86169F11F72E1BAD017E0ECE073C99\passthru.sys’. Info: 00000000
> Evt desc = Installing INF file
> “C:\WINDOWS\system32\DRVSTORE\netsf_0DCA6B416B861
> 69F11F72E1BAD017E0ECE073C99\netsf.inf” of Type 6. Info: 00000000
> Evt desc = Looking for Model Section [MSFT.NTx86]… Info: 00000000
> Evt desc = No matching devices found in INF
> "C:\WINDOWS\system32\DRVSTORE\netsf

> 0DCA6B416B86169F11F72E1BAD017E0ECE073C99\netsf.inf" on the Machine. Info:
> 000000
> 00
> Evt desc = No drivers installed. No devices found that match driver(s)
> contained
> in
> ‘C:\WINDOWS\system32\DRVSTORE\netsf_0DCA6B416B86169F11F72E1BAD017E0ECE073C99
> \netsf.inf’. Info: 00000000
> Evt desc = Installation completed with code 0xE000020B. Log: success
> Evt desc = RETURN: DriverPackageInstallW (0xE000020B) Info: 00000000
> Evt desc = RETURN: DriverPackageInstallA (0xE000020B) Info: 00000000
> Unknown error: e000020b
>
> If DIFx doesn’t work, I think that the only solution is using the INetCfg
> interface, following the bindview example, right?
>
> Have a nice day
> GV
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer