GetCommMask function Null safety kernel32

int GetCommMask(
  1. int hFile,
  2. Pointer<Uint32> lpEvtMask
)

Retrieves the value of the event mask for a specified communications device.

BOOL GetCommMask(
  HANDLE  hFile,
  LPDWORD lpEvtMask
);

Implementation

int GetCommMask(int hFile, Pointer<Uint32> lpEvtMask) =>
    _GetCommMask(hFile, lpEvtMask);