GetCommTimeouts function Null safety kernel32

int GetCommTimeouts(
  1. int hFile,
  2. Pointer<COMMTIMEOUTS> lpCommTimeouts
)

Retrieves the time-out parameters for all read and write operations on a specified communications device.

BOOL GetCommTimeouts(
  HANDLE         hFile,
  LPCOMMTIMEOUTS lpCommTimeouts
);

Implementation

int GetCommTimeouts(int hFile, Pointer<COMMTIMEOUTS> lpCommTimeouts) =>
    _GetCommTimeouts(hFile, lpCommTimeouts);