page_type | urlFragment | description | languages | products | |||
---|---|---|---|---|---|---|---|
sample |
virtual-serial-driver-sample-v2 |
Demonstrates UMDF version 2 serial drivers and includes a simple virtual serial driver (ComPort) and a controller-less modem driver (FakeModem). |
|
|
This sample demonstrates these two serial drivers:
-
A simple virtual serial driver (ComPort)
-
A controller-less modem driver (FakeModem).This driver supports sending and receiving AT commands using the ReadFile and WriteFile calls or via a TAPI interface using an application such as, HyperTerminal.
This sample driver is a minimal driver meant to demonstrate the usage of the User-Mode Driver Framework. It is not intended for use in a production environment.
For more information, see the Serial Controller Driver Design Guide.
- This is the main header file for the sample driver.
- Definition and implementation of the driver callback function (EVT_WDF_DRIVER_DEVICE_ADD) for the sample. This includes DriverEntry and events on the framework driver object.
- Definition and implementation of the device callback interface for the sample. This includes events on the framework device object.
- Definition and implementation of the base queue callback interface. This includes events on the framework I/O queue object.
- Definition and implement of ring buffer for pending data.
- This file defines resource information for the sample driver.
- INF file that contains installation information for this driver.