OpenCommPort function kernel32
Attempts to open a communication device.
HANDLE OpenCommPort(
ULONG uPortNumber,
DWORD dwDesiredAccess,
DWORD dwFlagsAndAttributes
);
Implementation
int OpenCommPort(
int uPortNumber, int dwDesiredAccess, int dwFlagsAndAttributes) =>
_OpenCommPort(uPortNumber, dwDesiredAccess, dwFlagsAndAttributes);