SetCommMask function kernel32
Specifies a set of events to be monitored for a communications device.
BOOL SetCommMask(
HANDLE hFile,
DWORD dwEvtMask
);
Implementation
int SetCommMask(int hFile, int dwEvtMask) => _SetCommMask(hFile, dwEvtMask);