SetCommMask function Null safety kernel32

int SetCommMask(
  1. int hFile,
  2. int dwEvtMask
)

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);