aclui.h revision 3194da424708abdd288b28d96892b3a5f3f7df0b
/*
* Copyright (C) 2009 Nikolay Sivov
*
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_ACLUI_H
#define __WINE_ACLUI_H
#include <objbase.h>
#include <commctrl.h>
#include <accctrl.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
typedef struct _SI_OBJECT_INFO
{
#define SI_EDIT_PERMS 0x00000000
#define SI_EDIT_OWNER 0x00000001
#define SI_EDIT_AUDITS 0x00000002
#define SI_CONTAINER 0x00000004
#define SI_READONLY 0x00000008
#define SI_ADVANCED 0x00000010
#define SI_RESET 0x00000020
#define SI_OWNER_READONLY 0x00000040
#define SI_EDIT_PROPERTIES 0x00000080
#define SI_OWNER_RECURSE 0x00000100
#define SI_NO_ACL_PROTECT 0x00000200
#define SI_NO_TREE_APPLY 0x00000400
#define SI_PAGE_TITLE 0x00000800
#define SI_SERVER_IS_DC 0x00001000
#define SI_RESET_DACL_TREE 0x00004000
#define SI_RESET_SACL_TREE 0x00008000
#define SI_OBJECT_GUID 0x00010000
#define SI_EDIT_EFFECTIVE 0x00020000
#define SI_RESET_DACL 0x00040000
#define SI_RESET_SACL 0x00080000
#define SI_RESET_OWNER 0x00100000
#define SI_NO_ADDITIONAL_PERMISSION 0x00200000
#define SI_VIEW_ONLY 0x00400000
#define SI_PERMS_ELEVATION_REQUIRED 0x01000000
#define SI_AUDITS_ELEVATION_REQUIRED 0x02000000
#define SI_OWNER_ELEVATION_REQUIRED 0x04000000
#define SI_MAY_WRITE 0x10000000
typedef struct _SI_ACCESS
{
} SI_ACCESS, *PSI_ACCESS;
#define SI_ACCESS_SPECIFIC 0x00010000
#define SI_ACCESS_GENERAL 0x00020000
#define SI_ACCESS_CONTAINER 0x00040000
#define SI_ACCESS_PROPERTY 0x00080000
typedef struct _SI_INHERIT_TYPE
{
typedef enum _SI_PAGE_TYPE
{
} SI_PAGE_TYPE;
#define INTERFACE ISecurityInformation
{
/* IUnknown methods */
/* ISecurityInformation methods */
};
typedef ISecurityInformation *LPSECURITYINFO;
#define INTERFACE ISecurityInformation2
{
/* IUnknown methods */
/* ISecurityInformation2 methods */
};
typedef ISecurityInformation2 *LPSECURITYINFO2;
typedef struct _SID_INFO
{
typedef struct _SID_INFO_LIST
{
#define INTERFACE IEffectivePermission
{
/* IUnknown methods */
/* ISecurityInformation methods */
const GUID* pguidObjectType,
};
typedef IEffectivePermission *LPEFFECTIVEPERMISSION;
#define INTERFACE ISecurityObjectTypeInfo
{
/* IUnknown methods */
/* ISecurityInformation methods */
#ifndef WINE_NO_UNICODE_MACROS
#else
#endif
) PURE;
};
#define INTERFACE ISecurityInformation3
{
/* IUnknown methods */
/* ISecurityInformation3 methods */
};
typedef ISecurityInformation3 *LPSECURITYINFO3;
DEFINE_GUID(IID_ISecurityInformation, 0x965fc360, 0x16ff, 0x11d0, 0x91, 0xcb, 0x0, 0xaa, 0x0, 0xbb, 0xb7, 0x23);
DEFINE_GUID(IID_ISecurityInformation2, 0xc3ccfdb4, 0x6f88, 0x11d2, 0xa3, 0xce, 0x0, 0xc0, 0x4f, 0xb1, 0x78, 0x2a);
DEFINE_GUID(IID_IEffectivePermission, 0x3853dc76, 0x9f35, 0x407c, 0x88, 0xa1, 0xd1, 0x93, 0x44, 0x36, 0x5f, 0xbc);
DEFINE_GUID(IID_ISecurityObjectTypeInfo, 0xfc3066eb, 0x79ef, 0x444b, 0x91, 0x11, 0xd1, 0x8a, 0x75, 0xeb, 0xf2, 0xfa);
DEFINE_GUID(IID_ISecurityInformation3, 0xe2cdc9cc, 0x31bd, 0x4f8f, 0x8c, 0x8b, 0xb6, 0x41, 0xaf, 0x51, 0x6a, 0x1a);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __WINE_ACLUI_H */