mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
34cc9c183b
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1307 21ef857c-d57f-4fe0-8362-d861dc6d29cd
46 lines
1.4 KiB
C#
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
|
|
);
|
|
}
|
|
}
|