Modified: trunk/reactos/lib/aclui/aclui.c
Modified: trunk/reactos/lib/aclui/aclui.xml
Deleted: trunk/reactos/lib/aclui/acluilib.h
Modified: trunk/reactos/lib/aclui/checklist.c
Modified: trunk/reactos/lib/aclui/misc.c
Added: trunk/reactos/lib/aclui/precomp.h
--- trunk/reactos/lib/aclui/aclui.c 2005-08-05 10:23:56 UTC (rev 17066)
+++ trunk/reactos/lib/aclui/aclui.c 2005-08-05 10:27:32 UTC (rev 17067)
@@ -26,7 +26,7 @@
* UPDATE HISTORY:
* 08/10/2004 Created
*/
-#include "acluilib.h"
+#include <precomp.h>
HINSTANCE hDllInstance;
--- trunk/reactos/lib/aclui/aclui.xml 2005-08-05 10:23:56 UTC (rev 17066)
+++ trunk/reactos/lib/aclui/aclui.xml 2005-08-05 10:27:32 UTC (rev 17067)
@@ -18,5 +18,5 @@
<file>checklist.c</file>
<file>misc.c</file>
<file>aclui.rc</file>
- <pch>acluilib.h</pch>
+ <pch>precomp.h</pch>
</module>
--- trunk/reactos/lib/aclui/acluilib.h 2005-08-05 10:23:56 UTC (rev 17066)
+++ trunk/reactos/lib/aclui/acluilib.h 2005-08-05 10:27:32 UTC (rev 17067)
@@ -1,127 +0,0 @@
-#include <windows.h>
-#include <commctrl.h>
-#include <objsel.h>
-#include <prsht.h>
-#include <aclui.h>
-#include <sddl.h>
-#include <ntsecapi.h>
-#if SUPPORT_UXTHEME
-#include <uxtheme.h>
-#include <tmschema.h>
-#endif
-#include "resource.h"
-
-ULONG DbgPrint(PCH Format,...);
-#define DPRINT DbgPrint
-
-#ifndef NT_SUCCESS
-#define NT_SUCCESS(status) ((LONG)(status) >= 0)
-#endif
-
-#define EnableRedrawWindow(hwnd) \
- SendMessage((hwnd), WM_SETREDRAW, TRUE, 0)
-
-#define DisableRedrawWindow(hwnd) \
- SendMessage((hwnd), WM_SETREDRAW, FALSE, 0)
-
-extern HINSTANCE hDllInstance;
-
-typedef struct _ACE_LISTITEM
-{
- struct _ACE_LISTITEM *Next;
- SID_NAME_USE SidNameUse;
- WCHAR *DisplayString;
- WCHAR *AccountName;
- WCHAR *DomainName;
-} ACE_LISTITEM, *PACE_LISTITEM;
-
-typedef struct _SECURITY_PAGE
-{
- HWND hWnd;
- HWND hBtnRemove;
- HWND hBtnAdvanced;
- HWND hAceCheckList;
- HWND hPermissionsForLabel;
-
- /* Main ACE List */
- HWND hWndAceList;
- PACE_LISTITEM AceListHead;
-
- INT SpecialPermCheckIndex;
-
- HIMAGELIST hiUsrs;
-
- LPSECURITYINFO psi;
- SI_OBJECT_INFO ObjectInfo;
-
- SI_ACCESS DefaultAccess;
-
- LPWSTR ServerName;
-} SECURITY_PAGE, *PSECURITY_PAGE;
-
-/* MISC ***********************************************************************/
-
-BOOL
-OpenLSAPolicyHandle(IN LPWSTR SystemName,
- IN ACCESS_MASK DesiredAccess,
- OUT PLSA_HANDLE PolicyHandle);
-
-DWORD
-LoadAndFormatString(IN HINSTANCE hInstance,
- IN UINT uID,
- OUT LPWSTR *lpTarget,
- ...);
-
-LPARAM
-ListViewGetSelectedItemData(IN HWND hwnd);
-
-BOOL
-ListViewSelectItem(IN HWND hwnd,
- IN INT Index);
-
-/* CHECKLIST CONTROL **********************************************************/
-
-#define CIS_DENYDISABLED (0x8)
-#define CIS_DENYENABLED (0x0)
-#define CIS_ALLOWDISABLED (0x4)
-#define CIS_ALLOWENABLED (0x0)
-#define CIS_ALLOW (0x2)
-#define CIS_DENY (0x1)
-#define CIS_NONE (0x0)
-#define CIS_DISABLED (CIS_ALLOWDISABLED | CIS_DENYDISABLED)
-
-#define CLB_ALLOW (0x1)
-#define CLB_DENY (0x0)
-
-#define CIS_MASK (CIS_DISABLED | CIS_ALLOW | CIS_DENY)
-
-#define CLM_ADDITEM (WM_USER + 1)
-#define CLM_DELITEM (WM_USER + 2)
-#define CLM_GETITEMCOUNT (WM_USER + 3)
-#define CLM_CLEAR (WM_USER + 4)
-#define CLM_SETCHECKBOXCOLUMN (WM_USER + 5)
-#define CLM_GETCHECKBOXCOLUMN (WM_USER + 6)
-#define CLM_CLEARCHECKBOXES (WM_USER + 7)
-#define CLM_SETITEMSTATE (WM_USER + 8)
-#define CLM_ENABLEQUICKSEARCH (WM_USER + 9)
-#define CLM_SETQUICKSEARCH_TIMEOUT_RESET (WM_USER + 10)
-#define CLM_SETQUICKSEARCH_TIMEOUT_SETFOCUS (WM_USER + 11)
-
-#define CLN_CHANGINGITEMCHECKBOX (101)
-
-typedef struct _NMCHANGEITEMCHECKBOX
-{
- NMHDR nmhdr;
- DWORD OldState;
- DWORD NewState;
- DWORD CheckBox;
- BOOL Checked;
-} NMCHANGEITEMCHECKBOX, *PNMCHANGEITEMCHECKBOX;
-
-BOOL
-RegisterCheckListControl(HINSTANCE hInstance);
-
-VOID
-UnregisterCheckListControl(VOID);
-
-/* EOF */
--- trunk/reactos/lib/aclui/checklist.c 2005-08-05 10:23:56 UTC (rev 17066)
+++ trunk/reactos/lib/aclui/checklist.c 2005-08-05 10:27:32 UTC (rev 17067)
@@ -26,7 +26,7 @@
* UPDATE HISTORY:
* 07/01/2005 Created
*/
-#include "acluilib.h"
+#include <precomp.h>
#define CI_TEXT_MARGIN_WIDTH (8)
#define CI_TEXT_MARGIN_HEIGHT (3)
--- trunk/reactos/lib/aclui/misc.c 2005-08-05 10:23:56 UTC (rev 17066)
+++ trunk/reactos/lib/aclui/misc.c 2005-08-05 10:27:32 UTC (rev 17067)
@@ -30,7 +30,7 @@
#include <windows.h>
#include <aclui.h>
-#include "acluilib.h"
+#include <precomp.h>
static INT
LengthOfStrResource(IN HINSTANCE hInst,