GetNamedPipeClientProcessId function kernel32
Retrieves the client process identifier for the specified named pipe.
To learn more, see learn.microsoft.com/windows/win32/api/winbase/nf-winbase-getnamedpipeclientprocessid.
Implementation
Win32Result<bool> GetNamedPipeClientProcessId(
HANDLE pipe,
Pointer<Uint32> clientProcessId,
) {
final result_ = GetNamedPipeClientProcessId_Wrapper(pipe, clientProcessId);
return Win32Result(value: result_.value.i32 != FALSE, error: result_.error);
}