Skip to content

Latest commit

 

History

History
99 lines (74 loc) · 2.89 KB

nf-winbase-getnamedpipeclientprocessid.md

File metadata and controls

99 lines (74 loc) · 2.89 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.GetNamedPipeClientProcessId
GetNamedPipeClientProcessId function (winbase.h)
Retrieves the client process identifier for the specified named pipe.
GetNamedPipeClientProcessId
GetNamedPipeClientProcessId function
base.getnamedpipeclientprocessid
winbase/GetNamedPipeClientProcessId
base\getnamedpipeclientprocessid.htm
base
7001eb89-3d91-44e3-b245-b19e8ab5f9fe
12/05/2018
GetNamedPipeClientProcessId, GetNamedPipeClientProcessId function, base.getnamedpipeclientprocessid, winbase/GetNamedPipeClientProcessId
winbase.h
Windows.h
Windows
Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 [desktop apps \| UWP apps]
Kernel32.lib
Kernel32.dll
Windows
19H1
GetNamedPipeClientProcessId
winbase/GetNamedPipeClientProcessId
c++
APIRef
kbSyntax
DllExport
Kernel32.dll
API-MS-Win-Core-Kernel32-Legacy-l1-1-0.dll
kernel32legacy.dll
API-MS-Win-Core-Kernel32-Legacy-l1-1-1.dll
API-MS-Win-Core-Kernel32-Legacy-l1-1-2.dll
API-MS-Win-DownLevel-Kernel32-l2-1-0.dll
API-MS-Win-Core-Kernel32-Legacy-L1-1-3.dll
API-MS-Win-Core-Kernel32-Legacy-L1-1-4.dll
API-MS-Win-Core-Kernel32-Legacy-L1-1-5.dll
GetNamedPipeClientProcessId

GetNamedPipeClientProcessId function

-description

Retrieves the client process identifier 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 ClientProcessId [out]

The process identifier.

-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

GetNamedPipeServerProcessId

Pipe Functions

Pipes Overview