Partager via


Serial Port Driver MDD Functions (Windows Embedded CE 6.0)

1/6/2010

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.

See Also

Other Resources

Serial Port Driver Reference