![]() Definition and implementation of the driver callback class (CMyDriver) for the sample.This is the main header file for the sample driver.This file lists the functions that the driver DLL exports.These depend on comsup.cpp to perform the necessary class creation. If you should change the name of your base driver class, you would also need to modify this file.ĭLL Support code - provides the DLL's entry point as well as the single required export ( DllGetClassObject). The implementation of IClassFactory is designed to create instances of the CMyDriver class. Code tour comsup.cpp and comsup.hĬOM Support code - specifically base classes which provide implementations for the standard COM interfaces IUnknown and IClassFactory which are used throughout the sample. It is not intended for use in a production environment.įor more information, see the Serial Controller Driver Design Guide. ![]() This sample driver is a minimal driver meant to demonstrate the usage of the User-Mode Driver Framework. This sample demonstrates these two serial drivers:Ī 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. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |