remove acledit.h, the interfaces are nt4-only and deprecated, programmers must use ISecurityInformation (which is what Thomas has started to implement as well)

svn path=/trunk/; revision=16370
This commit is contained in:
Alex Ionescu 2005-07-01 16:04:07 +00:00
parent ff230341e0
commit dca78ab993
4 changed files with 52 additions and 138 deletions

View file

@ -1,136 +0,0 @@
/*
* acledit.h
*
* Access Control List Editor definitions
*
* THIS SOFTWARE IS NOT COPYRIGHTED
*
* This source code is offered for use in the public domain. You may
* use, modify or distribute it freely.
*
* This code is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
* DISCLAIMED. This includes but is not limited to warranties of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
*/
#ifndef __ACLEDIT_H
#define __ACLEDIT_H
#include <windows.h>
typedef struct _ACL_HELP_CONTROL
{
LPWSTR lpHelpFile;
DWORD dwMainDialogTopic;
DWORD dwACLEditorDialogTopic;
DWORD Reserved1;
DWORD dwAddEntryDialogTopic;
DWORD Reserved2;
DWORD Reserved3;
DWORD dwAccountDialogTopic;
} ACL_HELP_CONTROL, *PACL_HELP_CONTROL;
typedef struct _ACL_DLG_CONTROL
{
UCHAR ucVersion;
BOOL bIsContainer;
BOOL bAllowNewObject;
BOOL bMapSpecificToGeneric;
LPDWORD lpdwGenericAccessMap;
LPDWORD lpdwGenericMappingNewObjects;
LPWSTR lpDialogTitle;
PACL_HELP_CONTROL pHelpInfo;
LPWSTR lpSubReplaceTitle;
LPWSTR lpSubReplaceObjectsTitle;
LPWSTR lpSubReplaceConfirmation;
LPWSTR lpSpecialAccess;
LPWSTR lpSpecialNewAccess;
} ACL_DLG_CONTROL, *PACL_DLG_CONTROL;
typedef struct _ACL_EDIT_ENTRY{
DWORD dwType;
DWORD dwAccessMask;
DWORD dwAccessMask1;
LPWSTR lpName;
} ACL_EDIT_ENTRY, *PACL_EDIT_ENTRY;
typedef struct _ACL_EDIT_CONTROL
{
DWORD dwNumberOfEntries;
PACL_EDIT_ENTRY pEntries;
LPWSTR lpDefaultPermissionName;
} ACL_EDIT_CONTROL, *PACL_EDIT_CONTROL;
typedef DWORD (CALLBACK *PACL_CHANGE)(HWND hWnd,
HINSTANCE hInstance,
PVOID pCallbackContext,
PSECURITY_DESCRIPTOR pNewSD,
PSECURITY_DESCRIPTOR pNewObjectSD,
BOOL bApplyToSubContainers,
BOOL bApplyToSubObjects,
LPDWORD lpdwChangeContextStatus);
DWORD WINAPI
EditAuditInfo(DWORD Unknown);
DWORD WINAPI
EditOwnerInfo(DWORD Unknown);
DWORD WINAPI
EditPermissionInfo(DWORD Unknown);
LONG WINAPI
FMExtensionProcW(HWND hWnd,
WORD wEvent,
LONG lParam);
DWORD WINAPI
SedDiscretionaryAclEditor(HWND hWndOwner,
HINSTANCE hInstance,
LPCWSTR lpMachineName,
PACL_DLG_CONTROL pAclDlgControl,
PACL_EDIT_CONTROL pAclEditControl,
LPCWSTR lpObjectName,
PACL_CHANGE pChangeCallback,
PVOID pChangeCallbackContext,
PSECURITY_DESCRIPTOR pObjectSecurity,
BOOL bNoReadPermission,
BOOL bReadOnly,
LPDWORD lpdwChangeContextStatus,
DWORD Reserved);
DWORD WINAPI
SedTakeOwnership(HWND hWndOwner,
HINSTANCE hInstance,
LPCWSTR lpMachineName,
LPCWSTR lpObjectType,
LPCWSTR lpObjectName,
DWORD dwObjectCount,
PACL_CHANGE pChangeCallback,
PVOID pChangeCallbackContext,
PSECURITY_DESCRIPTOR pObjectSecurity,
BOOL NoReadPermission,
BOOL NoOwnerChange,
LPDWORD lpdwChangeContextStatus,
PACL_HELP_CONTROL pHelpInfo,
DWORD Reserved);
DWORD WINAPI
SedSystemAclEditor(HWND hWndOwner,
HINSTANCE hInstance,
LPCWSTR lpMachineName,
PACL_DLG_CONTROL pAclDlgControl,
PACL_EDIT_CONTROL pAclEditControl,
LPCWSTR lpObjectName,
PACL_CHANGE pChangeCallback,
PVOID pChangeCallbackContext,
PSECURITY_DESCRIPTOR pObjectSecurity,
BOOL bNoReadPermission,
LPDWORD lpdwChangeContextStatus,
DWORD Reserved);
#endif /* __ACLEDIT_H */
/* EOF */

View file

@ -30,7 +30,6 @@
* 07/09/2004 Created * 07/09/2004 Created
*/ */
#include <windows.h> #include <windows.h>
#include <acledit.h>
#include "acleditint.h" #include "acleditint.h"
#include "resource.h" #include "resource.h"

View file

@ -3,6 +3,58 @@
extern HINSTANCE hDllInstance; extern HINSTANCE hDllInstance;
typedef struct _ACL_HELP_CONTROL
{
LPWSTR lpHelpFile;
DWORD dwMainDialogTopic;
DWORD dwACLEditorDialogTopic;
DWORD Reserved1;
DWORD dwAddEntryDialogTopic;
DWORD Reserved2;
DWORD Reserved3;
DWORD dwAccountDialogTopic;
} ACL_HELP_CONTROL, *PACL_HELP_CONTROL;
typedef struct _ACL_DLG_CONTROL
{
UCHAR ucVersion;
BOOL bIsContainer;
BOOL bAllowNewObject;
BOOL bMapSpecificToGeneric;
LPDWORD lpdwGenericAccessMap;
LPDWORD lpdwGenericMappingNewObjects;
LPWSTR lpDialogTitle;
PACL_HELP_CONTROL pHelpInfo;
LPWSTR lpSubReplaceTitle;
LPWSTR lpSubReplaceObjectsTitle;
LPWSTR lpSubReplaceConfirmation;
LPWSTR lpSpecialAccess;
LPWSTR lpSpecialNewAccess;
} ACL_DLG_CONTROL, *PACL_DLG_CONTROL;
typedef struct _ACL_EDIT_ENTRY{
DWORD dwType;
DWORD dwAccessMask;
DWORD dwAccessMask1;
LPWSTR lpName;
} ACL_EDIT_ENTRY, *PACL_EDIT_ENTRY;
typedef struct _ACL_EDIT_CONTROL
{
DWORD dwNumberOfEntries;
PACL_EDIT_ENTRY pEntries;
LPWSTR lpDefaultPermissionName;
} ACL_EDIT_CONTROL, *PACL_EDIT_CONTROL;
typedef DWORD (CALLBACK *PACL_CHANGE)(HWND hWnd,
HINSTANCE hInstance,
PVOID pCallbackContext,
PSECURITY_DESCRIPTOR pNewSD,
PSECURITY_DESCRIPTOR pNewObjectSD,
BOOL bApplyToSubContainers,
BOOL bApplyToSubObjects,
LPDWORD lpdwChangeContextStatus);
#endif /* __ACLEDITINT_H */ #endif /* __ACLEDITINT_H */
/* EOF */ /* EOF */

View file

@ -14,7 +14,6 @@
* 07/09/2004 Created * 07/09/2004 Created
*/ */
#include <windows.h> #include <windows.h>
#include <acledit.h>
#include "acleditint.h" #include "acleditint.h"
ULONG DbgPrint(PCH Format,...); ULONG DbgPrint(PCH Format,...);