73 |
#define SERIAL_EV_EVENT1 0x0800 // Provider specific event 1 |
#define SERIAL_EV_EVENT1 0x0800 // Provider specific event 1 |
74 |
#define SERIAL_EV_EVENT2 0x1000 // Provider specific event 2 |
#define SERIAL_EV_EVENT2 0x1000 // Provider specific event 2 |
75 |
|
|
76 |
|
#ifndef CRTSCTS |
77 |
|
#define CRTSCTS 0 |
78 |
|
#endif |
79 |
|
|
80 |
|
|
81 |
extern RDPDR_DEVICE g_rdpdr_device[]; |
extern RDPDR_DEVICE g_rdpdr_device[]; |
82 |
|
|
513 |
static NTSTATUS |
static NTSTATUS |
514 |
serial_device_control(HANDLE handle, uint32 request, STREAM in, STREAM out) |
serial_device_control(HANDLE handle, uint32 request, STREAM in, STREAM out) |
515 |
{ |
{ |
516 |
|
#if 0 |
517 |
int flush_mask, purge_mask; |
int flush_mask, purge_mask; |
518 |
|
#endif |
519 |
uint32 result; |
uint32 result; |
520 |
uint8 immediate; |
uint8 immediate; |
521 |
SERIAL_DEVICE *pser_inf; |
SERIAL_DEVICE *pser_inf; |