CreatePipe function kernel32
Creates an anonymous pipe, and returns handles to the read and write ends of the pipe.
BOOL CreatePipe(
PHANDLE hReadPipe,
PHANDLE hWritePipe,
LPSECURITY_ATTRIBUTES lpPipeAttributes,
DWORD nSize
);
Implementation
int CreatePipe(Pointer<IntPtr> hReadPipe, Pointer<IntPtr> hWritePipe,
Pointer<SECURITY_ATTRIBUTES> lpPipeAttributes, int nSize) =>
_CreatePipe(hReadPipe, hWritePipe, lpPipeAttributes, nSize);