网站首页  词典首页

请输入您要查询的函数:

 

术语 nddegetsharesecurity
释义 NDdeGetShareSecurity
语法:
C++
UINT NDdeGetShareSecurity(
__in LPTSTR lpszServer,
__in LPTSTR lpszShareName,
__in SECURITY_INFORMATION si,
__out PSECURITY_DESCRIPTOR pSD,
__in DWORD cbSD,
__out LPDWORD lpcbsdRequired
);
NDdeGetShareSecurity功能
[网络DDE不再支持。 Nddeapi.dll是目前在Windows Vista上,但所有的函数调用返回NDDE_NOT_IMPLEMENTED。]
获取安全描述符与DDE共享相关。这样做是通常的编辑。
参数
lpszServer [in]
该服务器的方法DSDM所在的名字。
lpszShareName [in]
的份额,其安全描述符的名称从检索方法DSDM。这个参数不能为NULL。
市 [in]
阿SECURITY_INFORMATION值,指定的安全资料,从与共享相关的安全描述符检索。
私营部门[out]
一个 SECURITY_DESCRIPTOR结构,它接收自相关安全描述符指针。此参数可以为NULL。如果该参数为NULL,方法DSDM决定了所要求的安全信息的大小,并返回在随着NDDE_BUF_TOO_SMALL错误代码lpcbsdRequired参数所需的字节数。
交配 [in]
PSD的缓冲区的大小。此参数必须为零,如果私营部门为NULL。
lpcbsdRequired [out]
一个指针的变量接收检索到的安全描述符的实际大小。这个参数不能为NULL。
返回值
如果函数成功,返回值是NDDE_NO_ERROR。
如果函数失败,返回值是一个错误代码,它能够成为一个翻译文本错误消息调用NDdeGetErrorString。如果私营部门参数为NULL,则返回NDDE_BUF_TOO_SMALL。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderNddeapi.h
LibraryNddeapi.lib
DLLNddeapi.dll
Unicode和ANSI namesNDdeGetShareSecurityW(Unicode)和NDdeGetShareSecurityA(ANSI)的
参见
网络动态数据交换概述
网络DDE函数
SECURITY_INFORMATION
NDdeSetShareSecurity
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==NDdeGetShareSecurity Function
[Network DDE is no longer supported. Nddeapi.dll is present on Windows Vista, but all function calls return NDDE_NOT_IMPLEMENTED.]
Retrieves the security descriptor associated with the DDE share. This is done usually for editing.
Syntax
C++
UINT NDdeGetShareSecurity(
__in LPTSTR lpszServer,
__in LPTSTR lpszShareName,
__in SECURITY_INFORMATION si,
__out PSECURITY_DESCRIPTOR pSD,
__in DWORD cbSD,
__out LPDWORD lpcbsdRequired
);
Parameters
lpszServer [in]
The name of the server on which the DSDM resides.
lpszShareName [in]
The name of the share whose security descriptor is to be retrieved from the DSDM. This parameter cannot be NULL.
si [in]
A SECURITY_INFORMATION value that specifies the security information to be retrieved from the security descriptor associated with the share.
pSD [out]
A pointer to a SECURITY_DESCRIPTOR structure that receives the self-relative security descriptor. This parameter can be NULL. If this parameter is NULL, the DSDM determines the size of the requested security information and returns the number of bytes needed in the lpcbsdRequired parameter along with the NDDE_BUF_TOO_SMALL error code.
cbSD [in]
The size of the pSD buffer. This parameter must be zero if pSD is NULL.
lpcbsdRequired [out]
A pointer to the variable that receives the actual size of the retrieved security descriptor. This parameter cannot be NULL.
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 . If the pSD parameter was NULL, it returns NDDE_BUF_TOO_SMALL.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderNddeapi.h
LibraryNddeapi.lib
DLLNddeapi.dll
Unicode and ANSI namesNDdeGetShareSecurityW (Unicode) and NDdeGetShareSecurityA (ANSI)
See Also
Network Dynamic Data Exchange Overview
Network DDE Functions
SECURITY_INFORMATION
NDdeSetShareSecurity
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/aa365760(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 9:23:55