1 #ifndef _REGEXP_SECURITY_H
2 #define _REGEXP_SECURITY_H
5 InitializeAclUiDll(VOID
);
10 /* FIXME - remove the definition */
12 GetSecurityInfo(HANDLE handle
,
13 SE_OBJECT_TYPE ObjectType
,
14 SECURITY_INFORMATION SecurityInfo
,
19 PSECURITY_DESCRIPTOR
* ppSecurityDescriptor
);
21 DEFINE_GUID(IID_CRegKeySecurity
, 0x965fc360, 0x16ff, 0x11d0, 0x0091, 0xcb,0x00,0xaa,0x00,0xbb,0xb7,0x23);
23 /******************************************************************************
25 ******************************************************************************/
27 typedef struct CRegKeySecurity
*LPREGKEYSECURITY
;
29 typedef struct ifaceCRegKeySecurityVbtl ifaceCRegKeySecurityVbtl
;
30 struct ifaceCRegKeySecurityVbtl
33 HRESULT (STDMETHODCALLTYPE
*QueryInterface
)(LPREGKEYSECURITY
this,
36 ULONG (STDMETHODCALLTYPE
*AddRef
)(LPREGKEYSECURITY
this);
37 ULONG (STDMETHODCALLTYPE
*Release
)(LPREGKEYSECURITY
this);
40 HRESULT (STDMETHODCALLTYPE
*GetObjectInformation
)(LPREGKEYSECURITY
this,
41 PSI_OBJECT_INFO pObjectInfo
);
42 HRESULT (STDMETHODCALLTYPE
*GetSecurity
)(LPREGKEYSECURITY
this,
43 SECURITY_INFORMATION RequestedInformation
,
44 PSECURITY_DESCRIPTOR
* ppSecurityDescriptor
,
46 HRESULT (STDMETHODCALLTYPE
*SetSecurity
)(LPREGKEYSECURITY
this,
47 SECURITY_INFORMATION RequestedInformation
,
48 PSECURITY_DESCRIPTOR pSecurityDescriptor
);
49 HRESULT (STDMETHODCALLTYPE
*GetAccessRights
)(LPREGKEYSECURITY
this,
50 const GUID
* pguidObjectType
,
54 ULONG
* piDefaultAccess
);
55 HRESULT (STDMETHODCALLTYPE
*MapGeneric
)(LPREGKEYSECURITY
this,
56 const GUID
* pguidObjectType
,
59 HRESULT (STDMETHODCALLTYPE
*GetInheritTypes
)(LPREGKEYSECURITY
this,
60 PSI_INHERIT_TYPE
* ppInheritTypes
,
61 ULONG
* pcInheritTypes
);
62 HRESULT (STDMETHODCALLTYPE
*PropertySheetPageCallback
)(LPREGKEYSECURITY
this,
68 typedef struct CRegKeySecurity
71 ifaceCRegKeySecurityVbtl
* lpVtbl
;
73 /* CRegKeySecurity fields */
75 SE_OBJECT_TYPE ObjectType
;
76 SI_OBJECT_INFO ObjectInfo
;
80 HRESULT STDMETHODCALLTYPE
CRegKeySecurity_fnQueryInterface(LPREGKEYSECURITY
this,
83 ULONG STDMETHODCALLTYPE
CRegKeySecurity_fnAddRef(LPREGKEYSECURITY
this);
84 ULONG STDMETHODCALLTYPE
CRegKeySecurity_fnRelease(LPREGKEYSECURITY
this);
85 HRESULT STDMETHODCALLTYPE
CRegKeySecurity_fnGetObjectInformation(LPREGKEYSECURITY
this,
86 PSI_OBJECT_INFO pObjectInfo
);
87 HRESULT STDMETHODCALLTYPE
CRegKeySecurity_fnGetSecurity(LPREGKEYSECURITY
this,
88 SECURITY_INFORMATION RequestedInformation
,
89 PSECURITY_DESCRIPTOR
* ppSecurityDescriptor
,
91 HRESULT STDMETHODCALLTYPE
CRegKeySecurity_fnSetSecurity(LPREGKEYSECURITY
this,
92 SECURITY_INFORMATION RequestedInformation
,
93 PSECURITY_DESCRIPTOR pSecurityDescriptor
);
94 HRESULT STDMETHODCALLTYPE
CRegKeySecurity_fnGetAccessRights(LPREGKEYSECURITY
this,
95 const GUID
* pguidObjectType
,
99 ULONG
* piDefaultAccess
);
100 HRESULT STDMETHODCALLTYPE
CRegKeySecurity_fnMapGeneric(LPREGKEYSECURITY
this,
101 const GUID
* pguidObjectType
,
104 HRESULT STDMETHODCALLTYPE
CRegKeySecurity_fnGetInheritTypes(LPREGKEYSECURITY
this,
105 PSI_INHERIT_TYPE
* ppInheritTypes
,
106 ULONG
* pcInheritTypes
);
107 HRESULT STDMETHODCALLTYPE
CRegKeySecurity_fnPropertySheetPageCallback(LPREGKEYSECURITY
this,
112 #endif /* _REGEXP_SECURITY_H */