Files
mirror-processhacker/trunk/ProcessHacker.Native/Api/ISecurityInformation.cs
T
wj32 34cc9c183b added security descriptor code (although the security editor doesn't work yet)
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1307 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-05-21 11:05:58 +00:00

46 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace ProcessHacker.Native.Api
{
[ComImport, Guid("965FC360-16FF-11d0-91CB-00AA00BBB723"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ISecurityInformation
{
int GetObjectInformation(
[Out] out SiObjectInfo ObjectInfo
);
int GetSecurity(
[In] SecurityInformation RequestedInformation,
[Out] out IntPtr SecurityDescriptor,
[In] bool Default
);
int SetSecurity(
[In] SecurityInformation SecurityInformation,
[In] IntPtr SecurityDescriptor
);
int GetAccessRights(
[In] ref Guid ObjectType,
[In] SiObjectInfoFlags Flags,
[Out] out IntPtr Access,
[Out] out int Accesses,
[Out] out int DefaultAccess
);
int MapGeneric(
[In] ref Guid ObjectType,
[In] ref byte AceFlags,
[In] ref int Mask
);
int GetInheritTypes(
[Out] out IntPtr InheritTypes,
[Out] out int InheritTypesCount
);
int PropertySheetPageCallback(
[In] IntPtr hWnd,
[In] SiCallbackMessage Msg,
[In] SiPageType Page
);
}
}