FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
SERIAL_DRIVER Struct Reference

#include <comm_ioctl.h>

Data Fields

SERIAL_DRIVER_ID id
 
TCHAR * name
 
BOOL(* set_baud_rate )(WINPR_COMM *pComm, const SERIAL_BAUD_RATE *pBaudRate)
 
BOOL(* get_baud_rate )(WINPR_COMM *pComm, SERIAL_BAUD_RATE *pBaudRate)
 
BOOL(* get_properties )(WINPR_COMM *pComm, COMMPROP *pProperties)
 
BOOL(* set_serial_chars )(WINPR_COMM *pComm, const SERIAL_CHARS *pSerialChars)
 
BOOL(* get_serial_chars )(WINPR_COMM *pComm, SERIAL_CHARS *pSerialChars)
 
BOOL(* set_line_control )(WINPR_COMM *pComm, const SERIAL_LINE_CONTROL *pLineControl)
 
BOOL(* get_line_control )(WINPR_COMM *pComm, SERIAL_LINE_CONTROL *pLineControl)
 
BOOL(* set_handflow )(WINPR_COMM *pComm, const SERIAL_HANDFLOW *pHandflow)
 
BOOL(* get_handflow )(WINPR_COMM *pComm, SERIAL_HANDFLOW *pHandflow)
 
BOOL(* set_timeouts )(WINPR_COMM *pComm, const SERIAL_TIMEOUTS *pTimeouts)
 
BOOL(* get_timeouts )(WINPR_COMM *pComm, SERIAL_TIMEOUTS *pTimeouts)
 
BOOL(* set_dtr )(WINPR_COMM *pComm)
 
BOOL(* clear_dtr )(WINPR_COMM *pComm)
 
BOOL(* set_rts )(WINPR_COMM *pComm)
 
BOOL(* clear_rts )(WINPR_COMM *pComm)
 
BOOL(* get_modemstatus )(WINPR_COMM *pComm, ULONG *pRegister)
 
BOOL(* set_wait_mask )(WINPR_COMM *pComm, const ULONG *pWaitMask)
 
BOOL(* get_wait_mask )(WINPR_COMM *pComm, ULONG *pWaitMask)
 
BOOL(* wait_on_mask )(WINPR_COMM *pComm, ULONG *pOutputMask)
 
BOOL(* set_queue_size )(WINPR_COMM *pComm, const SERIAL_QUEUE_SIZE *pQueueSize)
 
BOOL(* purge )(WINPR_COMM *pComm, const ULONG *pPurgeMask)
 
BOOL(* get_commstatus )(WINPR_COMM *pComm, SERIAL_STATUS *pCommstatus)
 
BOOL(* set_break_on )(WINPR_COMM *pComm)
 
BOOL(* set_break_off )(WINPR_COMM *pComm)
 
BOOL(* set_xoff )(WINPR_COMM *pComm)
 
BOOL(* set_xon )(WINPR_COMM *pComm)
 
BOOL(* get_dtrrts )(WINPR_COMM *pComm, ULONG *pMask)
 
BOOL(* config_size )(WINPR_COMM *pComm, ULONG *pSize)
 
BOOL(* immediate_char )(WINPR_COMM *pComm, const UCHAR *pChar)
 
BOOL(* reset_device )(WINPR_COMM *pComm)
 

Detailed Description

A function might be NULL if not supported by the underlying driver.

FIXME: better have to use input and output buffers for all functions?

Definition at line 189 of file comm_ioctl.h.

Field Documentation

◆ clear_dtr

BOOL(* SERIAL_DRIVER::clear_dtr) (WINPR_COMM *pComm)

Definition at line 205 of file comm_ioctl.h.

◆ clear_rts

BOOL(* SERIAL_DRIVER::clear_rts) (WINPR_COMM *pComm)

Definition at line 207 of file comm_ioctl.h.

◆ config_size

BOOL(* SERIAL_DRIVER::config_size) (WINPR_COMM *pComm, ULONG *pSize)

Definition at line 220 of file comm_ioctl.h.

◆ get_baud_rate

BOOL(* SERIAL_DRIVER::get_baud_rate) (WINPR_COMM *pComm, SERIAL_BAUD_RATE *pBaudRate)

Definition at line 194 of file comm_ioctl.h.

◆ get_commstatus

BOOL(* SERIAL_DRIVER::get_commstatus) (WINPR_COMM *pComm, SERIAL_STATUS *pCommstatus)

Definition at line 214 of file comm_ioctl.h.

◆ get_dtrrts

BOOL(* SERIAL_DRIVER::get_dtrrts) (WINPR_COMM *pComm, ULONG *pMask)

Definition at line 219 of file comm_ioctl.h.

◆ get_handflow

BOOL(* SERIAL_DRIVER::get_handflow) (WINPR_COMM *pComm, SERIAL_HANDFLOW *pHandflow)

Definition at line 201 of file comm_ioctl.h.

◆ get_line_control

BOOL(* SERIAL_DRIVER::get_line_control) (WINPR_COMM *pComm, SERIAL_LINE_CONTROL *pLineControl)

Definition at line 199 of file comm_ioctl.h.

◆ get_modemstatus

BOOL(* SERIAL_DRIVER::get_modemstatus) (WINPR_COMM *pComm, ULONG *pRegister)

Definition at line 208 of file comm_ioctl.h.

◆ get_properties

BOOL(* SERIAL_DRIVER::get_properties) (WINPR_COMM *pComm, COMMPROP *pProperties)

Definition at line 195 of file comm_ioctl.h.

◆ get_serial_chars

BOOL(* SERIAL_DRIVER::get_serial_chars) (WINPR_COMM *pComm, SERIAL_CHARS *pSerialChars)

Definition at line 197 of file comm_ioctl.h.

◆ get_timeouts

BOOL(* SERIAL_DRIVER::get_timeouts) (WINPR_COMM *pComm, SERIAL_TIMEOUTS *pTimeouts)

Definition at line 203 of file comm_ioctl.h.

◆ get_wait_mask

BOOL(* SERIAL_DRIVER::get_wait_mask) (WINPR_COMM *pComm, ULONG *pWaitMask)

Definition at line 210 of file comm_ioctl.h.

◆ id

SERIAL_DRIVER_ID SERIAL_DRIVER::id

Definition at line 191 of file comm_ioctl.h.

◆ immediate_char

BOOL(* SERIAL_DRIVER::immediate_char) (WINPR_COMM *pComm, const UCHAR *pChar)

Definition at line 221 of file comm_ioctl.h.

◆ name

TCHAR* SERIAL_DRIVER::name

Definition at line 192 of file comm_ioctl.h.

◆ purge

BOOL(* SERIAL_DRIVER::purge) (WINPR_COMM *pComm, const ULONG *pPurgeMask)

Definition at line 213 of file comm_ioctl.h.

◆ reset_device

BOOL(* SERIAL_DRIVER::reset_device) (WINPR_COMM *pComm)

Definition at line 222 of file comm_ioctl.h.

◆ set_baud_rate

BOOL(* SERIAL_DRIVER::set_baud_rate) (WINPR_COMM *pComm, const SERIAL_BAUD_RATE *pBaudRate)

Definition at line 193 of file comm_ioctl.h.

◆ set_break_off

BOOL(* SERIAL_DRIVER::set_break_off) (WINPR_COMM *pComm)

Definition at line 216 of file comm_ioctl.h.

◆ set_break_on

BOOL(* SERIAL_DRIVER::set_break_on) (WINPR_COMM *pComm)

Definition at line 215 of file comm_ioctl.h.

◆ set_dtr

BOOL(* SERIAL_DRIVER::set_dtr) (WINPR_COMM *pComm)

Definition at line 204 of file comm_ioctl.h.

◆ set_handflow

BOOL(* SERIAL_DRIVER::set_handflow) (WINPR_COMM *pComm, const SERIAL_HANDFLOW *pHandflow)

Definition at line 200 of file comm_ioctl.h.

◆ set_line_control

BOOL(* SERIAL_DRIVER::set_line_control) (WINPR_COMM *pComm, const SERIAL_LINE_CONTROL *pLineControl)

Definition at line 198 of file comm_ioctl.h.

◆ set_queue_size

BOOL(* SERIAL_DRIVER::set_queue_size) (WINPR_COMM *pComm, const SERIAL_QUEUE_SIZE *pQueueSize)

Definition at line 212 of file comm_ioctl.h.

◆ set_rts

BOOL(* SERIAL_DRIVER::set_rts) (WINPR_COMM *pComm)

Definition at line 206 of file comm_ioctl.h.

◆ set_serial_chars

BOOL(* SERIAL_DRIVER::set_serial_chars) (WINPR_COMM *pComm, const SERIAL_CHARS *pSerialChars)

Definition at line 196 of file comm_ioctl.h.

◆ set_timeouts

BOOL(* SERIAL_DRIVER::set_timeouts) (WINPR_COMM *pComm, const SERIAL_TIMEOUTS *pTimeouts)

Definition at line 202 of file comm_ioctl.h.

◆ set_wait_mask

BOOL(* SERIAL_DRIVER::set_wait_mask) (WINPR_COMM *pComm, const ULONG *pWaitMask)

Definition at line 209 of file comm_ioctl.h.

◆ set_xoff

BOOL(* SERIAL_DRIVER::set_xoff) (WINPR_COMM *pComm)

Definition at line 217 of file comm_ioctl.h.

◆ set_xon

BOOL(* SERIAL_DRIVER::set_xon) (WINPR_COMM *pComm)

Definition at line 218 of file comm_ioctl.h.

◆ wait_on_mask

BOOL(* SERIAL_DRIVER::wait_on_mask) (WINPR_COMM *pComm, ULONG *pOutputMask)

Definition at line 211 of file comm_ioctl.h.


The documentation for this struct was generated from the following file: