Introducing the Sample Source Code

The sample source code for your VxD is in the DDK subdirectory. The source code modules in the DDK subdirectory that you must modify are described in the following table:

File Description Comment
OEMDONGL.C Contains the OEMDongleTable which is an array of DONGLE_TYPE structures that list the supported dongles and their support functions.

Contains the OEMDongleTableLen variable that specifies the number of dongles that support is being added for.

Contains the functions to support initializing the dongle, setting the dongle's speed (from 2400 baud to 115,200 baud), and turning off the dongle.

The functions currently in OEMDONGL.C are for the ACTiSYS 200L dongle, except the content of the OEMDongleTable array and the names of the type_Init, type_SetSpeed, and type_Deinit functions have been changed to highlight the parts of the code you must change. Note that the name of the OEMDongleTable array and the OEMDongleTableLen variable must not be changed. More details about this are given in the following.
CVXDCTRL.ASM Wrapper that can be linked with OEMDONGL.C to produce a dynamically loadable VxD. The sample CVXDCTRL.ASM source code is for the ACTiSYS 200L dongle. You will have to edit this code to establish the name of your VxD.