The Platform Builder contains sample device drivers that illustrate how to write stream interface drivers for several types of device. If you implement a stream interface driver for a device similar to one of the samples, you can base your driver on the appropriate source code of the sample driver. The following table shows the sample device drivers contained in the Platform Builder.
Sample |
Description |
Pager Card | Illustrates a device driver for the Motorola NewsCard pager |
Modem Card | Illustrates a device driver for a PC Card modem |
RAM Card | Illustrates a device driver for a Static RAM PC Card |
PC Card Test | Illustrates a device driver for testing PC Cards |
Serial | Illustrates a device driver for devices that connect to a serial port |
Touch Screen | Illustrates a device driver that interacts with the screen |
The following are PC Card drivers:
A sample client driver for an I/O-type PC Card. A sample application included with this driver opens, writes, reads, and closes a device by making calls to the 16550MOD driver.
A sample pager PC Card driver supporting the Motorola NewsCard pager. The Platform Builder includes a sample application that enables users to receive and view pages.
A sample driver for a memory-type PC Card. The Platform Builder includes two sample applications for writing to and reading from the card.
A sample driver and test for a block of memory on a PC Card memory card or to dump attribute memory or tuple information from a PC Card.
The following are serial port drivers:
A sample serial-based client PC Card driver based on a GPS PC Card.
A sample serial-based client PC Card driver based on a sample teletypewriter (TTY) terminal.
For network driver interface specification (NDIS) drivers, NDIS sources consist of source code that is compatible with Windows 95 and Windows NT Workstation. The source code can simply be recompiled as a Windows CE–based DLL. For more information, see NDIS Network Drivers.