20 #include <winpr/comm.h>
22 #include "comm_ioctl.h"
25 #define TAG WINPR_TAG("comm")
27 BOOL CommDeviceIoControl(HANDLE hDevice, DWORD dwIoControlCode, LPVOID lpInBuffer,
28 DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize,
31 WINPR_UNUSED(hDevice);
32 WINPR_UNUSED(dwIoControlCode);
33 WINPR_UNUSED(lpInBuffer);
34 WINPR_UNUSED(nInBufferSize);
35 WINPR_UNUSED(lpOutBuffer);
36 WINPR_UNUSED(nOutBufferSize);
37 WINPR_UNUSED(lpBytesReturned);
38 WINPR_UNUSED(lpOverlapped);
40 WLog_ERR(TAG,
"TODO: Function not implemented for this platform");
44 int _comm_ioctl_tcsetattr(
int fd,
int optional_actions,
const struct termios* termios_p)
47 WINPR_UNUSED(optional_actions);
48 WINPR_UNUSED(termios_p);
50 WLog_ERR(TAG,
"TODO: Function not implemented for this platform");
54 BOOL _comm_set_permissive(HANDLE hDevice, BOOL permissive)
56 WINPR_UNUSED(hDevice);
57 WINPR_UNUSED(permissive);
59 WLog_ERR(TAG,
"TODO: Function not implemented for this platform");
63 BOOL CommReadFile(HANDLE hDevice, LPVOID lpBuffer, DWORD nNumberOfBytesToRead,
66 WINPR_UNUSED(hDevice);
67 WINPR_UNUSED(lpBuffer);
68 WINPR_UNUSED(nNumberOfBytesToRead);
69 WINPR_UNUSED(lpNumberOfBytesRead);
70 WINPR_UNUSED(lpOverlapped);
72 WLog_ERR(TAG,
"TODO: Function not implemented for this platform");
76 BOOL CommWriteFile(HANDLE hDevice, LPCVOID lpBuffer, DWORD nNumberOfBytesToWrite,
77 LPDWORD lpNumberOfBytesWritten,
LPOVERLAPPED lpOverlapped)
79 WINPR_UNUSED(hDevice);
80 WINPR_UNUSED(lpBuffer);
81 WINPR_UNUSED(nNumberOfBytesToWrite);
82 WINPR_UNUSED(lpNumberOfBytesWritten);
83 WINPR_UNUSED(lpOverlapped);
85 WLog_ERR(TAG,
"TODO: Function not implemented for this platform");