网站首页  词典首页

请输入您要查询的函数:

 

术语 addsidtoboundarydescriptor
释义 AddSIDToBoundaryDescriptor
语法:
C++
BOOL WINAPI AddSIDToBoundaryDescriptor(
__inout HANDLE *BoundaryDescriptor,
__in PSID RequiredSid
);
AddSIDToBoundaryDescriptor功能
添加一个安全标识符(SID)到指定的边界描述。
参数
BoundaryDescriptor [ in , out ]
一个句柄,边界描述。该CreateBoundaryDescriptor函数返回此句柄。
RequiredSid [in]
一个SID结构的指针。
返回值
如果函数成功,返回值为非零。
如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。
备注
该AddSIDToBoundaryDescriptor函数必须要求每个SID一次被添加到边界描述。
要编译的应用程序使用此功能,定义_WIN32_WINNT为0x0600或更高版本。
要求:
client最低支持Vista
server最低支持 Windows Server 2008
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
CreateBoundaryDescriptor
Object Namespaces
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==AddSIDToBoundaryDescriptor Function
Adds a security identifier (SID) to the specified boundary descriptor.
Syntax
C++
BOOL WINAPI AddSIDToBoundaryDescriptor(
__inout HANDLE *BoundaryDescriptor,
__in PSID RequiredSid
);
Parameters
BoundaryDescriptor [in, out]
A handle to the boundary descriptor. The CreateBoundaryDescriptor function returns this handle.
RequiredSid [in]
A pointer to a SID structure.
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 GetLastError .
Remarks
The AddSIDToBoundaryDescriptor function must be called once for each SID to be added to the boundary descriptor.
To compile an application that uses this function, define _WIN32_WINNT as 0x0600 or later.
Requirements
Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
CreateBoundaryDescriptor
Object Namespaces
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms681937(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:27:15