ReactOS  0.4.13-dev-259-g5ca9c9c
aclui.h File Reference
#include <unknwn.h>
#include <accctrl.h>
#include <commctrl.h>
Include dependency graph for aclui.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INTERFACE   ISecurityInformation
 
#define INTERFACE   ISecurityInformation2
 
#define INTERFACE   IEffectivePermission
 
#define INTERFACE   ISecurityObjectTypeInfo
 

Typedefs

typedef interface ISecurityInformation * LPSECURITYINFO
 
typedef interface ISecurityInformation2 * LPSECURITYINFO2
 
typedef interface IEffectivePermission * LPEFFECTIVEPERMISSION
 
typedef interface ISecurityObjectTypeInfo * LPSecurityObjectTypeInfo
 

Functions

 DEFINE_GUID (IID_ISecurityInformation, 0x965fc360, 0x16ff, 0x11d0, 0x0091, 0xcb, 0x00, 0xaa, 0x00, 0xbb, 0xb7, 0x23)
 
 DEFINE_GUID (IID_ISecurityInformation2, 0xc3ccfdb4, 0x6f88, 0x11d2, 0x00a3, 0xce, 0x00, 0xc0, 0x4f, 0xb1, 0x78, 0x2a)
 
 DEFINE_GUID (IID_IEffectivePermission, 0x3853dc76, 0x9f35, 0x407c, 0x0088, 0xa1, 0xd1, 0x93, 0x44, 0x36, 0x5f, 0xbc)
 
 DEFINE_GUID (IID_ISecurityObjectTypeInfo, 0xfc3066eb, 0x79ef, 0x444b, 0x0091, 0x11, 0xd1, 0x8a, 0x75, 0xeb, 0xf2, 0xfa)
 
 DECLARE_INTERFACE_ (ISecurityInformation, IUnknown)
 
 DECLARE_INTERFACE_ (ISecurityInformation2, IUnknown)
 
 DECLARE_INTERFACE_ (IEffectivePermission, IUnknown)
 
 DECLARE_INTERFACE_ (ISecurityObjectTypeInfo, IUnknown)
 
HPROPSHEETPAGE WINAPI CreateSecurityPage (LPSECURITYINFO psi)
 
BOOL WINAPI EditSecurity (HWND hwndOwner, LPSECURITYINFO psi)
 

Variables

EXTERN_C const IID IID_ISecurityInformation
 

Macro Definition Documentation

◆ INTERFACE [1/4]

#define INTERFACE   ISecurityInformation

Definition at line 90 of file aclui.h.

◆ INTERFACE [2/4]

#define INTERFACE   ISecurityInformation2

Definition at line 90 of file aclui.h.

◆ INTERFACE [3/4]

#define INTERFACE   IEffectivePermission

Definition at line 90 of file aclui.h.

◆ INTERFACE [4/4]

#define INTERFACE   ISecurityObjectTypeInfo

Definition at line 90 of file aclui.h.

Typedef Documentation

◆ LPEFFECTIVEPERMISSION

typedef interface IEffectivePermission* LPEFFECTIVEPERMISSION

Definition at line 36 of file aclui.h.

◆ LPSECURITYINFO

typedef interface ISecurityInformation* LPSECURITYINFO

Definition at line 34 of file aclui.h.

◆ LPSECURITYINFO2

typedef interface ISecurityInformation2* LPSECURITYINFO2

Definition at line 35 of file aclui.h.

◆ LPSecurityObjectTypeInfo

typedef interface ISecurityObjectTypeInfo* LPSecurityObjectTypeInfo

Definition at line 37 of file aclui.h.

Function Documentation

◆ CreateSecurityPage()

HPROPSHEETPAGE WINAPI CreateSecurityPage ( LPSECURITYINFO  psi)

◆ DECLARE_INTERFACE_() [1/4]

DECLARE_INTERFACE_ ( ISecurityInformation  ,
IUnknown   
)

Definition at line 42 of file aclui.h.

43 {
44  /* IUnknown */
48 
49  /* ISecurityInformation */
50  STDMETHOD(GetObjectInformation)(THIS_ PSI_OBJECT_INFO) PURE;
53  STDMETHOD(GetAccessRights)(THIS_ GUID*,DWORD,PSI_ACCESS*,ULONG*,ULONG*) PURE;
54  STDMETHOD(MapGeneric)(THIS_ GUID*,UCHAR*,PSI_ACCESS*) PURE;
55  STDMETHOD(GetInheritTypes)(THIS_ PSI_INHERIT_TYPE*,ULONG*) PURE;
56  STDMETHOD(PropertySheetPageCallback)(THIS_ HWND,UINT,SI_PAGE_TYPE) PURE;
57 };
struct _SECURITY_DESCRIPTOR * PSECURITY_DESCRIPTOR
Definition: security.c:97
#define REFIID
Definition: guiddef.h:113
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
HANDLE HWND
Definition: compat.h:13
enum _SI_PAGE_TYPE SI_PAGE_TYPE
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define BOOL
Definition: nt_native.h:43
#define DWORD
Definition: nt_native.h:44
#define STDMETHOD(m)
Definition: basetyps.h:62
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
unsigned char UCHAR
Definition: xmlstorage.h:181
#define PURE
Definition: basetyps.h:64
unsigned int UINT
Definition: ndis.h:50
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
struct _SI_OBJECT_INFO * PSI_OBJECT_INFO
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [2/4]

DECLARE_INTERFACE_ ( ISecurityInformation2  ,
IUnknown   
)

Definition at line 62 of file aclui.h.

63 {
64  /* IUnknown */
68 
69  /* ISecurityInformation2 */
70  STDMETHOD(IsDaclCanonical)(THIS_ PACL) PURE;
71  STDMETHOD(LookupSids)(THIS_ ULONG,PSID*,LPDATAOBJECT*) PURE;
72 };
#define REFIID
Definition: guiddef.h:113
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
struct _ACL * PACL
Definition: security.c:104
interface IDataObject * LPDATAOBJECT
Definition: objfwd.h:21
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [3/4]

DECLARE_INTERFACE_ ( IEffectivePermission  ,
IUnknown   
)

Definition at line 77 of file aclui.h.

78 {
79  /* IUnknown */
83 
84  /* IEffectivePermission */
86 };
struct _SECURITY_DESCRIPTOR * PSECURITY_DESCRIPTOR
Definition: security.c:97
#define REFIID
Definition: guiddef.h:113
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define THIS
Definition: basetyps.h:66
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
struct _SID * PSID
Definition: eventlog.c:35
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
ACCESS_MASK * PACCESS_MASK
Definition: nt_native.h:41
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE_() [4/4]

DECLARE_INTERFACE_ ( ISecurityObjectTypeInfo  ,
IUnknown   
)

Definition at line 91 of file aclui.h.

92 {
93  /* IUnknown */
97 
98  /* ISecurityObjectTypeInfo */
99  STDMETHOD(GetInheritSource)(THIS_ SECURITY_INFORMATION,PACL,PINHERITED_FROM*) PURE;
100 };
#define REFIID
Definition: guiddef.h:113
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
NTSTATUS QueryInterface(IN PDEVICE_OBJECT DeviceObject, IN CONST GUID InterfaceType, IN LONG Size, IN LONG Version, OUT PVOID Interface)
Definition: fdo.c:532
#define STDMETHOD(m)
Definition: basetyps.h:62
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
struct _ACL * PACL
Definition: security.c:104
#define PURE
Definition: basetyps.h:64
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int ULONG
Definition: retypes.h:1
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DEFINE_GUID() [1/4]

DEFINE_GUID ( IID_ISecurityInformation  ,
0x965fc360  ,
0x16ff  ,
0x11d0  ,
0x0091  ,
0xcb  ,
0x00  ,
0xaa  ,
0x00  ,
0xbb  ,
0xb7  ,
0x23   
)

◆ DEFINE_GUID() [2/4]

DEFINE_GUID ( IID_ISecurityInformation2  ,
0xc3ccfdb4  ,
0x6f88  ,
0x11d2  ,
0x00a3  ,
0xce  ,
0x00  ,
0xc0  ,
0x4f  ,
0xb1  ,
0x78  ,
0x2a   
)

◆ DEFINE_GUID() [3/4]

DEFINE_GUID ( IID_IEffectivePermission  ,
0x3853dc76  ,
0x9f35  ,
0x407c  ,
0x0088  ,
0xa1  ,
0xd1  ,
0x93  ,
0x44  ,
0x36  ,
0x5f  ,
0xbc   
)

◆ DEFINE_GUID() [4/4]

DEFINE_GUID ( IID_ISecurityObjectTypeInfo  ,
0xfc3066eb  ,
0x79ef  ,
0x444b  ,
0x0091  ,
0x11  ,
0xd1  ,
0x8a  ,
0x75  ,
0xeb  ,
0xf2  ,
0xfa   
)

◆ EditSecurity()

BOOL WINAPI EditSecurity ( HWND  hwndOwner,
LPSECURITYINFO  psi 
)

Variable Documentation

◆ IID_ISecurityInformation

EXTERN_C const IID IID_ISecurityInformation

Definition at line 40 of file aclui.h.