点击或拖拽改变大小

AdvApiAccessCheck 方法

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <summary> 文档]

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int AccessCheck(
	ref SECURITY_DESCRIPTOR pSecurityDescriptor,
	int ClientToken,
	int DesiredAccess,
	GENERIC_MAPPING GenericMapping,
	PRIVILEGE_SET PrivilegeSet,
	int PrivilegeSetLength,
	int GrantedAccess,
	int Status
)

参数

pSecurityDescriptor
类型:Sweet.Common.Win32SECURITY_DESCRIPTOR

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <param name="pSecurityDescriptor"/> 文档]

ClientToken
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <param name="ClientToken"/> 文档]

DesiredAccess
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <param name="DesiredAccess"/> 文档]

GenericMapping
类型:Sweet.Common.Win32GENERIC_MAPPING

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <param name="GenericMapping"/> 文档]

PrivilegeSet
类型:Sweet.Common.Win32PRIVILEGE_SET

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <param name="PrivilegeSet"/> 文档]

PrivilegeSetLength
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <param name="PrivilegeSetLength"/> 文档]

GrantedAccess
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <param name="GrantedAccess"/> 文档]

Status
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <param name="Status"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.AdvApi.AccessCheck(Sweet.Common.Win32.SECURITY_DESCRIPTOR@,System.Int32,System.Int32,Sweet.Common.Win32.GENERIC_MAPPING,Sweet.Common.Win32.PRIVILEGE_SET,System.Int32,System.Int32,System.Int32)" 的 <returns> 文档]

参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架