网站首页  词典首页

请输入您要查询的函数:

 

术语 getnamedpipeserverprocessid
释义 GetNamedPipeServerProcessId
语法:
C++
BOOL WINAPI GetNamedPipeServerProcessId(
__in HANDLE Pipe,
__out PULONG ServerProcessId
);
GetNamedPipeServerProcessId功能
检索服务器指定的命名管道的进程标识符。
参数
管 [in]
一个句柄,的一个命名管道实例。这种处理必须由CreateNamedPipe函数创建。
ServerProcessId [out]
进程标识符。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError函数。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
CreateNamedPipe
GetNamedPipeClientProcessId
管功能
管概述
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==GetNamedPipeServerProcessId Function
Retrieves the server process identifier for the specified named pipe.
Syntax
C++
BOOL WINAPI GetNamedPipeServerProcessId(
__in HANDLE Pipe,
__out PULONG ServerProcessId
);
Parameters
Pipe [in]
A handle to an instance of a named pipe. This handle must be created by the CreateNamedPipe function.
ServerProcessId [out]
The process identifier.
Return Value
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.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
CreateNamedPipe
GetNamedPipeClientProcessId
Pipe Functions
Pipes Overview
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa365446(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:31:11