Re: unable to assign a static ip to a intermidiate miniport, WM 6.1
- From: "Pavel A." <pavel_a@xxxxxxxxxxxxxxx>
- Date: Thu, 23 Oct 2008 12:24:12 +0200
This newsgroup, unfortunately, doesn't deal with WinCE specific stuff.
They have separate NGs, such as microsoft.public.pocketpc.developer.networking and
microsoft.public.windowsce.*
Regards,
--PA
KM wrote:
Slight correction to my previous post, the dll name is the same for both the PASSTHRU and the PASSTHRU1 registry entries. My apologies for that..
"KM" wrote:
I am trying to assign a static ip to my Intermidiate driver using the registry as shown below. My IM driver, which is based off the sample passthru code, only exposes the upper-edge functions to the NDIS and the
does not have an interface to any underlying driver. I am reading data off a
file and pumping it up the TCP/IP stack to the Apps. My driver gets loaded
fine but when i try to bind to the 192.168.3.3, it errors out with the error
code: 10049, cannot assign requested address, requested address is not valid
in its context. GetAdapatersInfo() does not list my driver. I am not sure
whether i am missing something in the registry.
;-------------------------------------------------------------------------------
; Tell NDIS about the PASSTHRU driver:
[HKEY_LOCAL_MACHINE\Comm\PASSTHRU]
"DisplayName"="VNIC Miniport Driver"
"Group"="NDIS"
"ImagePath"="flondis.dll"
; "NoDeviceCreate"=dword:1
[HKEY_LOCAL_MACHINE\Comm\PASSTHRU\Linkage]
"Route"=multi_sz:"PASSTHRU1"
[HKEY_LOCAL_MACHINE\Comm\PASSTHRU1]
"DisplayName"="VNIC Miniport Driver"
"Group"="NDIS"
"ImagePath"="fndis.dll"
; Tell NDIS some required info about the PASSTHRU adapter instance:
[HKEY_LOCAL_MACHINE\Comm\PASSTHRU1\Parms]
"BusType"=dword:0
"BusNumber"=dword:0
"DisablePowerManagement"=dword:1
[HKEY_LOCAL_MACHINE\Comm\PASSTHRU1\Parms\TcpIp]
"EnableDHCP"=dword:0
"DefaultGateway"=""
"UseZeroBroadcast"=dword:0
"IpAddress"="192.168.3.3"
"Subnetmask"="255.255.255.0"
;Bind TCP/IP to the miniport instance
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind"=multi_sz:"PASSTHRU1"
Any input from you would be highly appreciated.
Thanks,
- References:
- Prev by Date: RE: unable to assign a static ip to a intermidiate miniport, WM 6.1
- Next by Date: get USBDSTATUS using KMDF
- Previous by thread: RE: unable to assign a static ip to a intermidiate miniport, WM 6.1
- Next by thread: get USBDSTATUS using KMDF
- Index(es):
Relevant Pages
|