Passthru driver on WinCE

Hi,

I am trying to install Passthru driver on Windows CE .NET 4.2. Is there any
documentation online which I can follow to get the Passthru code running on
WinCE platform?

Thanks in adavance for your help and time.

Regards,
-Niranjan

Niranjan,

The short answer is no. There is not much online or documented (outside of
the PASSTHRU sample) on how to install an IM driver on Windows CE.

The sample PASSTHRU included with CE.NET 4.2 Platform Builder does include a
file with the necessary registry settings to start the driver.

The source also includes some very important CE specific code to deal with
bindings. I recommend that you look at that code very carefully. Managing
the binding process in an IM driver for CE is particularly important since
the OS does not provide anything like INetCfg or NetDi to help.

You should also be aware that the Pocket PC platforms are particularly
tricky to get an IM drive operating correctly on. A custom CE.NET platform
may or may not have similar issues (depending on the OS features & design).

If you do not have Platform Builder, you will need to get it (or at least
the ‘community release’ version that is an eval) to access the CE specific
PASSTHRU sample. I recommend reading it carefully and also reading and
understanding the differences in the Windows DDK versions of PASSTHRU
starting with the Win2K DDK all the way through the 2K3 DDK. Updates and
additional insight into IM driver behavior have been added at various times.
The CE.NET sample has not always been kept in line. The CE.NET 5.0 Platform
Builder might be an additional resource (a download version, I believe, is
still available as well).

One thing to keep in mind (that is quite a departure from NT5) is that a
protocol (or IM driver protocol edge) in CE.NET will be called to bind at
ProtocolBindAdapter() with just about every NDIS Miniport in the system.
That includes NDISWAN miniports like PPTP, L2TP, and ASYNCMAC as well as
IRDA miniports. Your bind handler needs to pay close attention to filtering
out these (I assume) unwanted bind opportunities.

Another issue is that an IM driver (at least a filter driver) expects to
have an exclusive binding on the protocol edge. Achieving this in a
reliable way on CE (dynamically) is a bit of a trick. I believe you will
find that the PASSTHRU sample has a few hints but not quite a complete or
robust solution.

Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Niranjan
Sent: Friday, September 16, 2005 7:17 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Passthru driver on WinCE

Hi,

I am trying to install Passthru driver on Windows CE .NET 4.2. Is there any
documentation online which I can follow to get the Passthru code running on
WinCE platform?

Thanks in adavance for your help and time.

Regards,
-Niranjan


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@msn.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks David for your excellent reply.

I have got the passthru driver compiled for Windows CE platform using
Platform Builder 4.2 and have copy it to the PDA.

But I didn’t find any documentation regarding registry settings I need to
make to install passthru driver on Windows CE platform. Can anybody please
help me in this regard?

Thanks,
-Niranjan

“David R. Cattley” wrote in message news:xxxxx@ntdev…
> Niranjan,
>
> The short answer is no. There is not much online or documented (outside
of
> the PASSTHRU sample) on how to install an IM driver on Windows CE.
>
> The sample PASSTHRU included with CE.NET 4.2 Platform Builder does include
a
> file with the necessary registry settings to start the driver.
>
> The source also includes some very important CE specific code to deal with
> bindings. I recommend that you look at that code very carefully.
Managing
> the binding process in an IM driver for CE is particularly important since
> the OS does not provide anything like INetCfg or NetDi to help.
>
> You should also be aware that the Pocket PC platforms are particularly
> tricky to get an IM drive operating correctly on. A custom CE.NET
platform
> may or may not have similar issues (depending on the OS features &
design).
>
> If you do not have Platform Builder, you will need to get it (or at least
> the ‘community release’ version that is an eval) to access the CE specific
> PASSTHRU sample. I recommend reading it carefully and also reading and
> understanding the differences in the Windows DDK versions of PASSTHRU
> starting with the Win2K DDK all the way through the 2K3 DDK. Updates and
> additional insight into IM driver behavior have been added at various
times.
> The CE.NET sample has not always been kept in line. The CE.NET 5.0
Platform
> Builder might be an additional resource (a download version, I believe, is
> still available as well).
>
> One thing to keep in mind (that is quite a departure from NT5) is that a
> protocol (or IM driver protocol edge) in CE.NET will be called to bind at
> ProtocolBindAdapter() with just about every NDIS Miniport in the system.
> That includes NDISWAN miniports like PPTP, L2TP, and ASYNCMAC as well as
> IRDA miniports. Your bind handler needs to pay close attention to
filtering
> out these (I assume) unwanted bind opportunities.
>
> Another issue is that an IM driver (at least a filter driver) expects to
> have an exclusive binding on the protocol edge. Achieving this in a
> reliable way on CE (dynamically) is a bit of a trick. I believe you will
> find that the PASSTHRU sample has a few hints but not quite a complete or
> robust solution.
>
> Good Luck,
> Dave Cattley
> Consulting Engineer
> Systems Software Development
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Niranjan
> Sent: Friday, September 16, 2005 7:17 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Passthru driver on WinCE
>
> Hi,
>
> I am trying to install Passthru driver on Windows CE .NET 4.2. Is there
any
> documentation online which I can follow to get the Passthru code running
on
> WinCE platform?
>
> Thanks in adavance for your help and time.
>
> Regards,
> -Niranjan
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@msn.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>