网站首页  词典首页

请输入您要查询的函数:

 

术语 nddesetsharesecurity
释义 NDdeSetShareSecurity
语法:
C++
UINT NDdeSetShareSecurity(
__in LPTSTR lpszServer,
__in LPTSTR lpszShareName,
__in SECURITY_INFORMATION si,
__in PSECURITY_DESCRIPTOR pSD
);
NDdeSetShareSecurity功能
[网络DDE不再支持。 Nddeapi.dll是目前在Windows Vista上,但所有的函数调用返回NDDE_NOT_IMPLEMENTED。]
设置安全描述符与DDE共享相关。通常这样做是在编辑DACL中分配给DDE的份额。
参数
lpszServer [in]
服务器的方法DSDM的要修改的名称。
lpszShareName [in]
的份额,其安全描述符的名称进行修改。这个参数不能为NULL。
市 [in]
阿SECURITY_INFORMATION值标识安全信息检索。
私营部门司 [in]
一个 SECURITY_DESCRIPTOR结构,它包含安全信息的指针。这个参数不能为NULL,并应指向一个有效的安全描述符。
返回值
如果函数成功,返回值是NDDE_NO_ERROR。
如果函数失败,返回值是一个错误代码,它能够成为一个翻译文本错误消息调用NDdeGetErrorString。
备注
若要修改,在与方法DSDM DDE共享关联的SECURITY_DESCRIPTOR,用户必须拥有适当的权限,共享者有此特权。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderNddeapi.h
LibraryNddeapi.lib
DLLNddeapi.dll
Unicode和ANSI namesNDdeSetShareSecurityW(Unicode)和NDdeSetShareSecurityA(ANSI)的
参见
网络动态数据交换概述
网络DDE函数
SECURITY_INFORMATION
NDdeGetShareSecurity
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NDdeSetShareSecurity Function
[Network DDE is no longer supported. Nddeapi.dll is present on Windows Vista, but all function calls return NDDE_NOT_IMPLEMENTED.]
Sets the security descriptor associated with the DDE share. This is done usually after editing the DACL assigned to the DDE share.
Syntax
C++
UINT NDdeSetShareSecurity(
__in LPTSTR lpszServer,
__in LPTSTR lpszShareName,
__in SECURITY_INFORMATION si,
__in PSECURITY_DESCRIPTOR pSD
);
Parameters
lpszServer [in]
The name of the server whose DSDM is to be modified.
lpszShareName [in]
The name of the share whose security descriptor is to be modified. This parameter cannot be NULL.
si [in]
A SECURITY_INFORMATION value that identifies the security information to retrieve.
pSD [in]
A pointer to a SECURITY_DESCRIPTOR structure that contains security information. This parameter cannot be NULL and should point to a valid security descriptor.
Return Value
If the function succeeds, the return value is NDDE_NO_ERROR.
If the function fails, the return value is an error code, which can be translated into a text error message by calling NDdeGetErrorString .
Remarks
To modify the SECURITY_DESCRIPTOR associated with a DDE share in the DSDM, the user must have appropriate privilege; the share creator has this privilege.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderNddeapi.h
LibraryNddeapi.lib
DLLNddeapi.dll
Unicode and ANSI namesNDdeSetShareSecurityW (Unicode) and NDdeSetShareSecurityA (ANSI)
See Also
Network Dynamic Data Exchange Overview
Network DDE Functions
SECURITY_INFORMATION
NDdeGetShareSecurity
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa365764(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:22