Sample Layered Miniport Driver for Windows CE .NET (324450)



The information in this article applies to:

  • Microsoft Windows CE .NET Operating System
  • Microsoft Windows CE .NET

This article was previously published under Q324450
NOTE: The information in this article also applies to:
- Microsoft Windows CE .NET Operating System, version 4.1

SUMMARY

The Passthru.exe file is a self-extracting archive that contains the source for a sample layered miniport driver for Microsoft Windows CE .NET. The passthru driver does not change the network traffic, but you can used it as an example for the structure of a more active driver.

MORE INFORMATION

The following file is available for download from the Microsoft Download Center:
Release Date: July 1, 2000

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. The Passthru.exe file contains the following files:

File NameSize in KB
Makefile1
Miniport.c32
Passthru.c13
Passthru.def1
Passthru.h11
Passthru.reg1
Precomp.h1
Protocol.c47
Sources2


After you extract the files, copy them to the following folder:

D:\Wince400\public\common\oak\drivers\netsamp\passthru

where D: is the drive on which Platform Builder is installed.

NOTE: You may have to create the Passthru folder. If the folder already exists, archive and remove its contents before you copy the sample files.

The Sample

To build the sample, follow these steps:
  1. Load a platform in Platform Builder.
  2. On the Target menu, click Open Build Release Directory. A command prompt window appears.
  3. Change to the directory that contains the Passthru sample.
  4. Set the WINCEREL environment variable to 1.
  5. Run build to build the Passthru sample.
To add the sample to your platform, follow these steps:
  1. Copy the contents of the Passthru.reg sample file to the Project.reg file of your platform.
  2. Add the following line to the "MODULES" section of your Project.bib file:
    passthru.dll    $(_FLATRELEASEDIR)\passthru.dll     NK  SH
    					
  3. Build your platform.

Modification Type:MinorLast Reviewed:8/9/2004
Keywords:kbdownload kbfile kbinfo KB324450