点击或拖拽改变大小

AdvApiAllocateAndInitializeSid 方法

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,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 AllocateAndInitializeSid(
	ref SID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
	byte nSubAuthorityCount,
	int nSubAuthority0,
	int nSubAuthority1,
	int nSubAuthority2,
	int nSubAuthority3,
	int nSubAuthority4,
	int nSubAuthority5,
	int nSubAuthority6,
	int nSubAuthority7,
	ref int lpPSid
)

参数

pIdentifierAuthority
类型:Sweet.Common.Win32SID_IDENTIFIER_AUTHORITY

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="pIdentifierAuthority"/> 文档]

nSubAuthorityCount
类型:SystemByte

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="nSubAuthorityCount"/> 文档]

nSubAuthority0
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="nSubAuthority0"/> 文档]

nSubAuthority1
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="nSubAuthority1"/> 文档]

nSubAuthority2
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="nSubAuthority2"/> 文档]

nSubAuthority3
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="nSubAuthority3"/> 文档]

nSubAuthority4
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="nSubAuthority4"/> 文档]

nSubAuthority5
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="nSubAuthority5"/> 文档]

nSubAuthority6
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="nSubAuthority6"/> 文档]

nSubAuthority7
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="nSubAuthority7"/> 文档]

lpPSid
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <param name="lpPSid"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.AdvApi.AllocateAndInitializeSid(Sweet.Common.Win32.SID_IDENTIFIER_AUTHORITY@,System.Byte,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32@)" 的 <returns> 文档]

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