GetOverlappedResult function Null safety kernel32

int GetOverlappedResult(
  1. int hFile,
  2. Pointer<OVERLAPPED> lpOverlapped,
  3. Pointer<Uint32> lpNumberOfBytesTransferred,
  4. int bWait

Retrieves the results of an overlapped operation on the specified file, named pipe, or communications device. To specify a timeout interval or wait on an alertable thread, use GetOverlappedResultEx.

BOOL GetOverlappedResult(
  HANDLE       hFile,
  LPOVERLAPPED lpOverlapped,
  LPDWORD      lpNumberOfBytesTransferred,
  BOOL         bWait


int GetOverlappedResult(int hFile, Pointer<OVERLAPPED> lpOverlapped,
        Pointer<Uint32> lpNumberOfBytesTransferred, int bWait) =>
        hFile, lpOverlapped, lpNumberOfBytesTransferred, bWait);