Share via


Serial Port Driver MDD Functions

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The following table shows the serial port driver's model device driver (MDD) functions.

Programming element Description

COM_Close

This function closes the serial device. It is called after an application calls the CloseHandle function.

COM_Deinit

This function de-initializes the serial port.

COM_Init

This function initializes the serial port.

COM_IOControl

This function implements the I/O control routine for the serial port.

COM_Open

This function initializes the serial port driver.

COM_PowerDown

This function informs the serial port driver that the hardware platform is about to enter suspend mode.

COM_PowerUp

This function informs the serial port driver that the hardware platform is resuming from suspend mode.

COM_Read

This function enables an application to receive characters from the serial port.

COM_Write

This function enables an application to transmit bytes to the serial port.