Writing a Waveform Input Driver

To write a waveform input driver, first create the initialization part of the driver-the part that includes the LibEntry, WEP, and DriverProc entry-point functions. Next, create the widMessage entry-point function and the rest of the support code required to implement the driver. Be sure to process all of the required messages for waveform input device drivers. For each message you process, use the information provided in the reference at the end of this chapter to ensure you did everything required to correctly process the message.