Author: fireball
Date: Thu May 25 23:50:19 2006
New Revision: 22043
URL:
http://svn.reactos.ru/svn/reactos?rev=22043&view=rev
Log:
[AUDIT]
kernel32.dll
- Remove locks from Wine code, and from simple stub or forward type of functions
- Add file headers to all files (except shared completely with Wine)
- Mark a pair of functions as shared with Wine (to be changed later when adding correct
function headers)
Modified:
trunk/reactos/dll/win32/kernel32/file/volume.c
trunk/reactos/dll/win32/kernel32/mem/isbad.c (contents, props changed)
trunk/reactos/dll/win32/kernel32/mem/local.c (props changed)
trunk/reactos/dll/win32/kernel32/misc/error.c
trunk/reactos/dll/win32/kernel32/misc/lang.c
trunk/reactos/dll/win32/kernel32/misc/muldiv.c
trunk/reactos/dll/win32/kernel32/misc/nls.c
trunk/reactos/dll/win32/kernel32/misc/perfcnt.c
trunk/reactos/dll/win32/kernel32/misc/recovery.c
trunk/reactos/dll/win32/kernel32/misc/sysinfo.c
trunk/reactos/dll/win32/kernel32/misc/timerqueue.c
trunk/reactos/dll/win32/kernel32/misc/toolhelp.c
Modified: trunk/reactos/dll/win32/kernel32/file/volume.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/file/vol…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/file/volume.c (original)
+++ trunk/reactos/dll/win32/kernel32/file/volume.c Thu May 25 23:50:19 2006
@@ -82,6 +82,7 @@
/*
* @implemented
*/
+/* Synced to Wine-? */
DWORD STDCALL
GetLogicalDriveStringsA(DWORD nBufferLength,
LPSTR lpBuffer)
@@ -119,6 +120,7 @@
/*
* @implemented
*/
+/* Synced to Wine-? */
DWORD STDCALL
GetLogicalDriveStringsW(DWORD nBufferLength,
LPWSTR lpBuffer)
@@ -154,6 +156,7 @@
/*
* @implemented
*/
+/* Synced to Wine-? */
DWORD STDCALL
GetLogicalDrives(VOID)
{
Modified: trunk/reactos/dll/win32/kernel32/mem/isbad.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/mem/isba…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/mem/isbad.c (original)
+++ trunk/reactos/dll/win32/kernel32/mem/isbad.c Thu May 25 23:50:19 2006
@@ -1,10 +1,16 @@
/* $Id$
*
- * lib/kernel32/mem/isbad.c
- *
- * ReactOS Operating System
- *
- */
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: dll/win32/kernel32/mem/isbad.c
+ * PURPOSE:
+ * PROGRAMMER: Ariadne ( ariadne(a)xs4all.nl)
+ * Ge van Geldorp
+ * Filip Navara
+ * UPDATE HISTORY:
+ * Created 03/10/99
+ */
+
#include <k32.h>
#define NDEBUG
Propchange: trunk/reactos/dll/win32/kernel32/mem/isbad.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*
Propchange: trunk/reactos/dll/win32/kernel32/mem/local.c
------------------------------------------------------------------------------
--- svn:needs-lock (original)
+++ svn:needs-lock (removed)
@@ -1,1 +1,0 @@
-*
Modified: trunk/reactos/dll/win32/kernel32/misc/error.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/err…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/error.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/error.c Thu May 25 23:50:19 2006
@@ -1,8 +1,15 @@
/* $Id$
*
- * reactos/lib/kernel32/misc/error.c
- *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: dll/win32/kernel32/misc/error.c
+ * PURPOSE: Environment functions
+ * PROGRAMMER: Emanuele Aliberti
+ * Thomas Weidenmueller
+ * UPDATE HISTORY:
+ * Created 05/10/98
*/
+
#include <k32.h>
@@ -15,11 +22,9 @@
*/
VOID
STDCALL
-SetLastError (
- DWORD dwErrorCode
- )
+SetLastError (DWORD dwErrorCode)
{
- NtCurrentTeb ()->LastErrorValue = (ULONG) dwErrorCode;
+ NtCurrentTeb ()->LastErrorValue = (ULONG) dwErrorCode;
}
@@ -30,7 +35,7 @@
STDCALL
GetLastError (VOID)
{
- return (DWORD) (NtCurrentTeb ()->LastErrorValue);
+ return (DWORD) (NtCurrentTeb ()->LastErrorValue);
}
Modified: trunk/reactos/dll/win32/kernel32/misc/lang.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/lan…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/lang.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/lang.c Thu May 25 23:50:19 2006
@@ -1,9 +1,18 @@
-/*
- * PROJECT: ReactOS user mode libraries
- * LICENSE: GPL - See COPYING in the top level directory
- * FILE: reactos/lib/kernel32/misc/lang.c
- * PURPOSE:
- * PROGRAMMERS: ???
+/* $Id$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: dll/win32/kernel32/file/lang.c
+ * PURPOSE: National Laguage Support related funcs
+ * PROGRAMMER: Thomas Weidenmueller
+ * Gunnar Andre Dalsnes
+ * Aleksey Bragin
+ * Eric Kohl
+ * Alex Ionescu
+ * Richard Campbell
+ * James Tabor
+ * UPDATE HISTORY:
+ * Created 21/09/2003
*/
#include <k32.h>
@@ -792,6 +801,7 @@
/*
* @implemented
*/
+/* Synced to Wine-20102004 */
int
STDCALL
CompareStringA (
Modified: trunk/reactos/dll/win32/kernel32/misc/muldiv.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/mul…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/muldiv.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/muldiv.c Thu May 25 23:50:19 2006
@@ -1,6 +1,15 @@
/* $Id$
*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: dll/win32/kernel32/misc/muldiv.c
+ * PURPOSE:
+ * PROGRAMMER: Casper S. Hornstrup
+ * Gunnar Andre Dalsnes
+ * UPDATE HISTORY:
+ * Created 06/12/2002
*/
+
#include <k32.h>
Modified: trunk/reactos/dll/win32/kernel32/misc/nls.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/nls…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/nls.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/nls.c Thu May 25 23:50:19 2006
@@ -1,24 +1,15 @@
-/*
- * ReactOS Kernel
- * Copyright (C) 2004 ReactOS Team
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/**
- * @brief National Language Support.
- * @author Filip Navara
+/* $Id$
+ *
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: dll/win32/kernel32/misc/nls.c
+ * PURPOSE: National Language Support
+ * PROGRAMMER: Filip Navara
+ * Hartmut Birr
+ * Gunnar Andre Dalsnes
+ * Thomas Weidenmueller
+ * UPDATE HISTORY:
+ * Created 24/08/2004
*/
/* INCLUDES *******************************************************************/
Modified: trunk/reactos/dll/win32/kernel32/misc/perfcnt.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/per…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/perfcnt.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/perfcnt.c Thu May 25 23:50:19 2006
@@ -1,23 +1,6 @@
-/*
- * ReactOS kernel
- * Copyright (C) 2003 ReactOS Team
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$ */
/*
+ * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* FILE: lib/kernel32/misc/perfcnt.c
* PURPOSE: Performance counter
Modified: trunk/reactos/dll/win32/kernel32/misc/recovery.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/rec…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/recovery.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/recovery.c Thu May 25 23:50:19 2006
@@ -1,24 +1,4 @@
-/*
- * ReactOS kernel
- * Copyright (C) 2005 ReactOS Team
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$
- *
- * KERNEL32.DLL application recovery functions
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
Modified: trunk/reactos/dll/win32/kernel32/misc/sysinfo.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/sys…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/sysinfo.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/sysinfo.c Thu May 25 23:50:19 2006
@@ -1,8 +1,17 @@
/* $Id$
*
- * reactos/lib/kernel32/misc/sysinfo.c
- *
- */
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: dll/win32/kernel32/misc/sysinfo.c
+ * PURPOSE: SystemInfo functions
+ * PROGRAMMER: Emanuele Aliberti
+ * Christoph von Wittich
+ * Thomas Weidenmueller
+ * Gunnar Andre Dalsnes
+ * UPDATE HISTORY:
+ * 2000-04-26 created
+ */
+
#include <k32.h>
#define NDEBUG
Modified: trunk/reactos/dll/win32/kernel32/misc/timerqueue.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/tim…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/timerqueue.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/timerqueue.c Thu May 25 23:50:19 2006
@@ -1,27 +1,9 @@
-/*
- * ReactOS kernel
- * Copyright (C) 2004 ReactOS Team
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
* PURPOSE: Timer Queue functions
- * FILE: lib/kernel32/misc/timerqueue.c
+ * FILE: dll/win32/kernel32/misc/timerqueue.c
* PROGRAMER: Thomas Weidenmueller <w3seek(a)reactos.com>
*/
Modified: trunk/reactos/dll/win32/kernel32/misc/toolhelp.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/win32/kernel32/misc/too…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/misc/toolhelp.c (original)
+++ trunk/reactos/dll/win32/kernel32/misc/toolhelp.c Thu May 25 23:50:19 2006
@@ -1,28 +1,8 @@
-/*
- * ReactOS kernel
- * Copyright (C) 2004 ReactOS Team
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
/* $Id$
- *
- * KERNEL32.DLL toolhelp functions
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
- * FILE: lib/kernel32/misc/toolhelp.c
+ * FILE: dll/win32/kernel32/misc/toolhelp.c
* PURPOSE: Toolhelp functions
* PROGRAMMER: Thomas Weidenmueller <w3seek(a)reactos.com>
* Robert Dickenson (robd(a)mok.lvcm.com)