* lib/advapi32/.cvsignore: Ignore *.gch.
* lib/advapi32/advapi32.h: New file.
* lib/advapi32/*/*.c: Use pre-compiled header.
svn path=/trunk/; revision=10553
+2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
+
+ * lib/advapi32/.cvsignore: Ignore *.gch.
+ * lib/advapi32/advapi32.h: New file.
+ * lib/advapi32/*/*.c: Use pre-compiled header.
+
2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
* ntoskrnl/include/.cvsignore: New file.
--- /dev/null
+#include <stdarg.h>
+#include <string.h>
+#include <wchar.h>
+#include <tchar.h>
+#include <ntdll/rtl.h>
+#define NTOS_MODE_USER
+#include <ntos.h>
+#include <windows.h>
+#include <rosrtl/string.h>
-# $Id: makefile,v 1.41 2004/06/17 09:07:12 ekohl Exp $
+# $Id: makefile,v 1.42 2004/08/15 17:03:14 chorns Exp $
PATH_TO_TOP = ../..
TARGET_NAME = advapi32
+TARGET_PCH = advapi32.h
+
TARGET_CFLAGS = -Wall -Werror -fno-builtin -D__USE_W32API
# TARGET_CFLAGS += -DUNICODE
-/* $Id: dllmain.c,v 1.7 2003/02/02 19:26:07 hyperion Exp $
+/* $Id: dllmain.c,v 1.8 2004/08/15 17:03:14 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* Created ???
*/
-#include <ddk/ntddk.h>
-#include <windows.h>
-
+#include "advapi32.h"
#define NDEBUG
#include <debug.h>
-/* $Id: hwprofiles.c,v 1.2 2004/06/17 09:07:12 ekohl Exp $
+/* $Id: hwprofiles.c,v 1.3 2004/08/15 17:03:14 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* UPDATE HISTORY:
* 20042502
*/
-#include <ddk/ntddk.h>
-#include <windows.h>
+
+#include "advapi32.h"
#include <debug.h>
/******************************************************************************
-/* $Id: logon.c,v 1.10 2004/08/10 21:18:16 gvg Exp $
+/* $Id: logon.c,v 1.11 2004/08/15 17:03:14 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* PROGRAMMER: Eric Kohl
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <string.h>
-
+#include "advapi32.h"
#define NDEBUG
#include <debug.h>
-/* $Id: shutdown.c,v 1.11 2004/01/20 01:40:18 ekohl Exp $
+/* $Id: shutdown.c,v 1.12 2004/08/15 17:03:14 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* 19990515 EA
*/
-#include <windows.h>
-
-#define NTOS_MODE_USER
-#include <ntos.h>
+#include "advapi32.h"
#define USZ {0,0,0}
-/* $Id: sysfunc.c,v 1.7 2003/07/10 15:05:55 chorns Exp $
+/* $Id: sysfunc.c,v 1.8 2004/08/15 17:03:14 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* 19990413 EA created
* 19990415 EA
*/
-#include <windows.h>
+
+#include "advapi32.h"
/**********************************************************************
* SystemFunction001
-/* $Id: reg.c,v 1.53 2004/07/18 23:52:30 navaraf Exp $
+/* $Id: reg.c,v 1.54 2004/08/15 17:03:14 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
/* INCLUDES *****************************************************************/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <ddk/ntddk.h>
-#include <rosrtl/string.h>
-#include <ntdll/rtl.h>
-#include <windows.h>
-#include <wchar.h>
-
+#include "advapi32.h"
#define NDEBUG
#include <debug.h>
-/* $Id: ac.c,v 1.9 2004/02/25 14:25:11 ekohl Exp $
+/* $Id: ac.c,v 1.10 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* PURPOSE: ACL/ACE functions
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
/* --- ACL --- */
-/* $Id: audit.c,v 1.2 2003/07/20 22:11:58 ekohl Exp $
+/* $Id: audit.c,v 1.3 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
/* INCLUDES *****************************************************************/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
/* FUNCTIONS ****************************************************************/
-/* $Id: lsa.c,v 1.11 2004/06/17 09:07:12 ekohl Exp $
+/* $Id: lsa.c,v 1.12 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
*
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
#include <ntsecapi.h>
#define NDEBUG
-/* $Id: misc.c,v 1.21 2004/07/10 14:38:24 weiden Exp $
+/* $Id: misc.c,v 1.22 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* PURPOSE: Miscellaneous security functions
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
#include <accctrl.h>
#define NDEBUG
-/* $Id: sec.c,v 1.21 2004/07/11 13:33:40 ekohl Exp $
+/* $Id: sec.c,v 1.22 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* Created 01/11/98
*/
-#define NTOS_MODE_USER
-#include <windows.h>
-#include <ntos.h>
-
+#include "advapi32.h"
#include <debug.h>
/*
-/* $Id: sid.c,v 1.13 2004/06/20 23:39:07 gdalsnes Exp $
+/* $Id: sid.c,v 1.14 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* PURPOSE: Security ID functions
*/
+#include "advapi32.h"
#include <debug.h>
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
/*
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <stdarg.h>
-
+#include "advapi32.h"
#define NDEBUG
#include <debug.h>
-/* $Id: scm.c,v 1.22 2004/07/03 17:40:21 navaraf Exp $
+/* $Id: scm.c,v 1.23 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
/* INCLUDES ******************************************************************/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <wchar.h>
-#include <tchar.h>
-
+#include "advapi32.h"
#define DBG
#include <debug.h>
-/* $Id: sctrl.c,v 1.13 2004/01/20 01:40:19 ekohl Exp $
+/* $Id: sctrl.c,v 1.14 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
/* INCLUDES ******************************************************************/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
-#include <string.h>
-#include <wchar.h>
-
+#include "advapi32.h"
#define NDEBUG
#include <debug.h>
-/* $Id: undoc.c,v 1.3 2002/09/08 10:22:37 chorns Exp $
+/* $Id: undoc.c,v 1.4 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
/* INCLUDES ******************************************************************/
-#include <windows.h>
+#include "advapi32.h"
+
/* FUNCTIONS *****************************************************************/
-/* $Id: privilege.c,v 1.8 2004/06/17 09:07:12 ekohl Exp $
+/* $Id: privilege.c,v 1.9 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* 20010317 ea stubs
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
/**********************************************************************
-/* $Id: token.c,v 1.12 2004/07/12 12:05:49 ekohl Exp $
+/* $Id: token.c,v 1.13 2004/08/15 17:03:15 chorns Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* Created 01/11/98
*/
-#define NTOS_MODE_USER
-#include <ntos.h>
-#include <windows.h>
+#include "advapi32.h"
+
/*
* @implemented