AllocateAndInitializeSid |
Declare Function Api_AllocateAndInitializeSid& Lib "advapi32" Alias "AllocateAndInitializeSid" (pIA As SID_IDENTIFIER_AUTHORITY, ByVal SACount As Byte, ByVal SA0&, ByVal SA1&, ByVal SA2&, ByVal SA3&, ByVal SA4&, ByVal SA5&, ByVal SA6&, ByVal SA7&, pSid&) |
Declare Function AllocateAndInitializeSid Lib "advapi32" Alias "AllocateAndInitializeSid" (pIdentifierAuthority As SID_IDENTIFIER_AUTHORITY, ByVal nSubAuthorityCount As Byte, ByVal nSubAuthority0 As Long, ByVal nSubAuthority1 As Long, ByVal nSubAuthority2 As Long, ByVal nSubAuthority3 As Long, ByVal nSubAuthority4 As Long, ByVal nSubAuthority5 As Long, ByVal nSubAuthority6 As Long, ByVal nSubAuthority7 As Long, lpPSid As Long) As Long |
|
セキュリティ識別子(SID)を割り当て、最大8つの副権限(サブオーソリティ)を使って初期化。 |
|
パラメータ
1〜8 のいずれかの値を保持していなければならない。
味を持たせ、その他のパラメータを無視するよう指定することになる。
戻り値 |