Skip to content

Latest commit

 

History

History
103 lines (79 loc) · 3.44 KB

nf-winbase-getnamedpipeclientcomputernamea.md

File metadata and controls

103 lines (79 loc) · 3.44 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winbase.GetNamedPipeClientComputerNameA
GetNamedPipeClientComputerNameA function (winbase.h)
The GetNamedPipeClientComputerNameA (ANSI) function (winbase.h) retrieves the client computer name for the specified named pipe.
GetNamedPipeClientComputerName
GetNamedPipeClientComputerName function
GetNamedPipeClientComputerNameA
GetNamedPipeClientComputerNameW
base.getnamedpipeclientcomputername
winbase/GetNamedPipeClientComputerName
winbase/GetNamedPipeClientComputerNameA
winbase/GetNamedPipeClientComputerNameW
base\getnamedpipeclientcomputername.htm
base
8daa97fe-0ef7-4ada-a99c-aff487ad27e5
08/04/2022
GetNamedPipeClientComputerName, GetNamedPipeClientComputerName function, GetNamedPipeClientComputerNameA, GetNamedPipeClientComputerNameW, base.getnamedpipeclientcomputername, winbase/GetNamedPipeClientComputerName, winbase/GetNamedPipeClientComputerNameA, winbase/GetNamedPipeClientComputerNameW
winbase.h
Windows.h
Windows
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
GetNamedPipeClientComputerNameW (Unicode) and GetNamedPipeClientComputerNameA (ANSI)
Kernel32.lib
Kernel32.dll
Windows
19H1
GetNamedPipeClientComputerNameA
winbase/GetNamedPipeClientComputerNameA
c++
APIRef
kbSyntax
DllExport
Kernel32.dll
API-MS-Win-Core-NamedPipe-l1-1-0.dll
KernelBase.dll
API-MS-Win-Core-NamedPipe-l1-2-0.dll
API-MS-Win-DownLevel-Kernel32-l1-1-0.dll
MinKernelBase.dll
API-MS-Win-Core-NamedPipe-l1-2-1.dll
API-Ms-Win-Core-Namedpipe-Ansi-L1-1-0.dll
Kernel32Legacy.dll
API-MS-Win-Core-NamedPipe-Ansi-L1-1-1.dll
API-MS-Win-Core-NamedPipe-L1-2-2.dll
GetNamedPipeClientComputerName
GetNamedPipeClientComputerNameA
GetNamedPipeClientComputerNameW

GetNamedPipeClientComputerNameA function

-description

Retrieves the client computer name for the specified named pipe.

-parameters

-param Pipe [in]

A handle to an instance of a named pipe. This handle must be created by the CreateNamedPipe function.

-param ClientComputerName [out]

The computer name.

-param ClientComputerNameLength [in]

The size of the ClientComputerName buffer, in bytes.

-returns

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call the GetLastError function.

-remarks

Windows 10, version 1709:  Pipes are only supported within an app-container; ie, from one UWP process to another UWP process that's part of the same app. Also, named pipes must use the syntax \\.\pipe\LOCAL\ for the pipe name.

-see-also

CreateNamedPipe

Pipe Functions

Pipes Overview