示例#1
0
 internal static extern bool AccessCheckByType([MarshalAs(UnmanagedType.LPArray)] byte[] pSecurityDescriptor, IntPtr principalSelfSid, SafeTokenHandle clientToken, uint DesiredAccess, IntPtr objectTypeList, int ObjectTypeListLength, ref NativeMethods.GENERIC_MAPPING GenericMapping, SafeHandle PrivilegeSet, ref int PrivilegeSetLength, out uint GrantedAccess, out bool AccessStatus);
示例#2
0
 internal static extern void MapGenericMask(ref uint accessMask, [In] ref NativeMethods.GENERIC_MAPPING genericMapping);