网站首页  词典首页

请输入您要查询的函数:

 

术语 netservercomputernamedel
释义 NetServerComputerNameDel
语法:
C++
NET_API_STATUS NetServerComputerNameDel(
__in LPWSTR ServerName,
__in LPWSTR EmulatedServerName
);
NetServerComputerNameDel功能
该NetServerComputerNameDel功能使指定的服务器停止支持模拟的服务器名称由以前的调用NetServerComputerNameAdd的功能集。该功能是通过无约束力的传输网络这从仿真的名称。
参数
服务器名 [in]
指针指向一个字符串,它指定的DNS或NetBIOS的远程服务器上的功能是执行的名称。如果该参数为NULL,则使用本地计算机。
EmulatedServerName [in]
指向一个以空终止字符的字符串,其中包含模拟名称服务器应停止支持。服务器继续支持所有其他服务器的名称是支持的。
返回值
如果函数成功,返回值是NERR_Success。
如果函数失败,返回值可以是下面的错误代码之一。
返回codeDescription
ERROR_ACCESS_DENIEDThe用户没有获得所需的信息。
ERROR_INVALID_PARAMETERThe指定的参数无效。
ERROR_NOT_ENOUGH_MEMORYInsufficient内存可用。
NERR_NetNameNotFoundThe共享名称不存在。
备注
管理员或服务器操作员本地组的成员才可以成功地执行NetServerComputerNameDel功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderLmserver.h(包括Lm.h)
LibraryNetapi32.lib
DLLNetapi32.dll
参见
网络管理概述
网络管理功能
服务器功能
NetServerComputerNameAdd
NetServerTransportEnum
NetServerTransportAdd
NetServerTransportAddEx
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月13日
==英文原文==NetServerComputerNameDel Function
The NetServerComputerNameDel function causes the specified server to cease supporting the emulated server name set by a previous call to the NetServerComputerNameAdd function. The function does this by unbinding network transports from the emulated name.
Syntax
C++
NET_API_STATUS NetServerComputerNameDel(
__in LPWSTR ServerName,
__in LPWSTR EmulatedServerName
);
Parameters
ServerName [in]
Pointer to a string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used.
EmulatedServerName [in]
Pointer to a null-terminated character string that contains the emulated name the server should stop supporting. The server continues to support all other server names it was supporting.
Return Value
If the function succeeds, the return value is NERR_Success.
If the function fails, the return value can be one of the following error codes.
Return codeDescription
ERROR_ACCESS_DENIEDThe user does not have access to the requested information.
ERROR_INVALID_PARAMETERThe specified parameter is invalid.
ERROR_NOT_ENOUGH_MEMORYInsufficient memory is available.
NERR_NetNameNotFoundThe share name does not exist.

Remarks
Only members of the Administrators or Server Operators local group can successfully execute the NetServerComputerNameDel function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderLmserver.h (include Lm.h)
LibraryNetapi32.lib
DLLNetapi32.dll
See Also
Network Management Overview
Network Management Functions
Server Functions
NetServerComputerNameAdd
NetServerTransportEnum
NetServerTransportAdd
NetServerTransportAddEx
Send comments about this topic to Microsoft
Build date: 8/13/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa370621(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:28:45