网站首页  计算机词典

请输入您要查询的字词:

 

字词 getnamedpipeclientcomputername
释义 GetNamedPipeClientComputerName
语法:
C++
BOOL WINAPI GetNamedPipeClientComputerName(
__in HANDLE Pipe,
__out LPTSTR ClientComputerName,
__in ULONG ClientComputerNameLength
);
GetNamedPipeClientComputerName功能
检索指定的命名管道客户端计算机的名称。
参数
管 [in]
一个句柄,的一个命名管道实例。这种处理必须由CreateNamedPipe函数创建。
ClientComputerName [out]
计算机的名称。
ClientComputerNameLength [in]
该ClientComputerName缓冲区大小,以字节为单位。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError函数。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
Unicode和ANSI namesGetNamedPipeClientComputerNameW(Unicode)和GetNamedPipeClientComputerNameA(ANSI)的
参见
CreateNamedPipe
管功能
管概述
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==GetNamedPipeClientComputerName Function
Retrieves the client computer name for the specified named pipe.
Syntax
C++
BOOL WINAPI GetNamedPipeClientComputerName(
__in HANDLE Pipe,
__out LPTSTR ClientComputerName,
__in ULONG ClientComputerNameLength
);
Parameters
Pipe [in]
A handle to an instance of a named pipe. This handle must be created by the CreateNamedPipe function.
ClientComputerName [out]
The computer name.
ClientComputerNameLength [in]
The size of the ClientComputerName buffer, in bytes.
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
Unicode and ANSI namesGetNamedPipeClientComputerNameW (Unicode) and GetNamedPipeClientComputerNameA (ANSI)
See Also
CreateNamedPipe
Pipe Functions
Pipes Overview
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa365437(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 21:37:37