PeekNamedPipe method
Implementation
int PeekNamedPipe(
ffi.Pointer<ffi.Void> hNamedPipe,
ffi.Pointer<ffi.Void> lpBuffer,
int nBufferSize,
ffi.Pointer<ffi.Uint64> lpBytesRead,
ffi.Pointer<ffi.Uint64> lpTotalBytesAvail,
ffi.Pointer<ffi.Uint64> lpBytesLeftThisMessage,
) {
return (_PeekNamedPipe ??=
_dylib.lookupFunction<_c_PeekNamedPipe, _dart_PeekNamedPipe>(
'PeekNamedPipe'))(
hNamedPipe,
lpBuffer,
nBufferSize,
lpBytesRead,
lpTotalBytesAvail,
lpBytesLeftThisMessage,
);
}