3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright (C) 2009 Nikolay Sivov
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is free software; you can redistribute it and/or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * modify it under the terms of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License as published by the Free Software Foundation; either
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * version 2.1 of the License, or (at your option) any later version.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is distributed in the hope that it will be useful,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Lesser General Public License for more details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You should have received a copy of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License along with this library; if not, write to the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a choice of LGPL license versions is made available with the language indicating
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the LGPL is applied is otherwise unspecified.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern "C" {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* __cplusplus */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SI_EDIT_ALL (SI_EDIT_PERMS | SI_EDIT_OWNER | SI_EDIT_AUDITS)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_IID_(ISecurityInformation, IUnknown, "965fc360-16ff-11d0-91cb-00aa00bbb723")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* IUnknown methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* ISecurityInformation methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetObjectInformation) (THIS_ PSI_OBJECT_INFO pObjectInfo ) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetSecurity) (THIS_ SECURITY_INFORMATION RequestedInformation,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(SetSecurity) (THIS_ SECURITY_INFORMATION SecurityInformation,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetAccessRights) (THIS_ const GUID* pguidObjectType,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(MapGeneric) (THIS_ const GUID *pguidObjectType,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetInheritTypes) (THIS_ PSI_INHERIT_TYPE *ppInheritTypes,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(PropertySheetPageCallback)(THIS_ HWND hwnd, UINT uMsg, SI_PAGE_TYPE uPage ) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_IID_(ISecurityInformation2, IUnknown, "c3ccfdb4-6f88-11d2-a3ce-00c04fb1782a")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* IUnknown methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* ISecurityInformation2 methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD_(BOOL,IsDaclCanonical) (THIS_ PACL pDacl) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(LookupSids) (THIS_ ULONG cSids, PSID *rgpSids, LPDATAOBJECT *ppdo) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define CFSTR_ACLUI_SID_INFO_LIST TEXT("CFSTR_ACLUI_SID_INFO_LIST")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_IID_(IEffectivePermission, IUnknown, "3853dc76-9f35-407c-88a1-d19344365fbc")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* IUnknown methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* ISecurityInformation methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef IEffectivePermission *LPEFFECTIVEPERMISSION;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_IID_(ISecurityObjectTypeInfo, IUnknown, "fc3066eb-79ef-444b-9111-d18a75ebf2fa")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* IUnknown methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* ISecurityInformation methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetInheritSource)(THIS_ SECURITY_INFORMATION si,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef ISecurityObjectTypeInfo *LPSecurityObjectTypeInfo;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDECLARE_INTERFACE_IID_(ISecurityInformation3, IUnknown, "e2cdc9cc-31bd-4f8f-8c8b-b641af516a1a")
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* IUnknown methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync /* ISecurityInformation3 methods */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(GetFullResourceName) (THIS_ LPWSTR *ppszResourceName) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync STDMETHOD(OpenElevatedEditor) (THIS_ HWND hWnd, SI_PAGE_TYPE uPage) PURE;
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_ISecurityInformation, 0x965fc360, 0x16ff, 0x11d0, 0x91, 0xcb, 0x0, 0xaa, 0x0, 0xbb, 0xb7, 0x23);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_ISecurityInformation2, 0xc3ccfdb4, 0x6f88, 0x11d2, 0xa3, 0xce, 0x0, 0xc0, 0x4f, 0xb1, 0x78, 0x2a);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_IEffectivePermission, 0x3853dc76, 0x9f35, 0x407c, 0x88, 0xa1, 0xd1, 0x93, 0x44, 0x36, 0x5f, 0xbc);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_ISecurityObjectTypeInfo, 0xfc3066eb, 0x79ef, 0x444b, 0x91, 0x11, 0xd1, 0x8a, 0x75, 0xeb, 0xf2, 0xfa);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncDEFINE_GUID(IID_ISecurityInformation3, 0xe2cdc9cc, 0x31bd, 0x4f8f, 0x8c, 0x8b, 0xb6, 0x41, 0xaf, 0x51, 0x6a, 0x1a);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncHPROPSHEETPAGE WINAPI CreateSecurityPage(LPSECURITYINFO psi);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncBOOL WINAPI EditSecurity(HWND owner, LPSECURITYINFO psi);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncHRESULT WINAPI EditSecurityAdvanced(HWND owner, LPSECURITYINFO psi, SI_PAGE_TYPE uSIPage);
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* __cplusplus */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* __WINE_ACLUI_H */