PostQueuedCompletionStatus function Null safety kernel32

int PostQueuedCompletionStatus(
  1. int CompletionPort,
  2. int dwNumberOfBytesTransferred,
  3. int dwCompletionKey,
  4. Pointer<OVERLAPPED> lpOverlapped
)

Posts an I/O completion packet to an I/O completion port.

BOOL PostQueuedCompletionStatus(
  HANDLE       CompletionPort,
  DWORD        dwNumberOfBytesTransferred,
  ULONG_PTR    dwCompletionKey,
  LPOVERLAPPED lpOverlapped
);

Implementation

int PostQueuedCompletionStatus(
        int CompletionPort,
        int dwNumberOfBytesTransferred,
        int dwCompletionKey,
        Pointer<OVERLAPPED> lpOverlapped) =>
    _PostQueuedCompletionStatus(CompletionPort, dwNumberOfBytesTransferred,
        dwCompletionKey, lpOverlapped);