SetNamedPipeHandleState function Null safety kernel32

int SetNamedPipeHandleState(
  1. int hNamedPipe,
  2. Pointer<Uint32> lpMode,
  3. Pointer<Uint32> lpMaxCollectionCount,
  4. Pointer<Uint32> lpCollectDataTimeout

Sets the read mode and the blocking mode of the specified named pipe. If the specified handle is to the client end of a named pipe and if the named pipe server process is on a remote computer, the function can also be used to control local buffering.

BOOL SetNamedPipeHandleState(
  HANDLE  hNamedPipe,
  LPDWORD lpMode,
  LPDWORD lpMaxCollectionCount,
  LPDWORD lpCollectDataTimeout);


int SetNamedPipeHandleState(
        int hNamedPipe,
        Pointer<Uint32> lpMode,
        Pointer<Uint32> lpMaxCollectionCount,
        Pointer<Uint32> lpCollectDataTimeout) =>
        hNamedPipe, lpMode, lpMaxCollectionCount, lpCollectDataTimeout);