GetNamedPipeClientComputerName function kernel32

bool GetNamedPipeClientComputerName(
  1. HANDLE pipe,
  2. PWSTR clientComputerName,
  3. int clientComputerNameLength
)

Retrieves the client computer name for the specified named pipe.

To learn more, see learn.microsoft.com/windows/win32/api/namedpipeapi/nf-namedpipeapi-getnamedpipeclientcomputernamew.

Implementation

@pragma('vm:prefer-inline')
bool GetNamedPipeClientComputerName(
  HANDLE pipe,
  PWSTR clientComputerName,
  int clientComputerNameLength,
) =>
    _GetNamedPipeClientComputerName(
      pipe,
      clientComputerName,
      clientComputerNameLength,
    ) !=
    FALSE;