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)

svn path=/trunk/; revision=22043
This commit is contained in:
Aleksey Bragin 2006-05-25 19:50:19 +00:00
parent 8943cd0ea8
commit b0f84fadf3
11 changed files with 75 additions and 117 deletions

View file

@ -82,6 +82,7 @@ InternalOpenDirW(LPCWSTR DirName,
/*
* @implemented
*/
/* Synced to Wine-? */
DWORD STDCALL
GetLogicalDriveStringsA(DWORD nBufferLength,
LPSTR lpBuffer)
@ -119,6 +120,7 @@ GetLogicalDriveStringsA(DWORD nBufferLength,
/*
* @implemented
*/
/* Synced to Wine-? */
DWORD STDCALL
GetLogicalDriveStringsW(DWORD nBufferLength,
LPWSTR lpBuffer)
@ -154,6 +156,7 @@ GetLogicalDriveStringsW(DWORD nBufferLength,
/*
* @implemented
*/
/* Synced to Wine-? */
DWORD STDCALL
GetLogicalDrives(VOID)
{

View file

@ -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@xs4all.nl)
* Ge van Geldorp
* Filip Navara
* UPDATE HISTORY:
* Created 03/10/99
*/
#include <k32.h>
#define NDEBUG

View file

@ -1,9 +1,16 @@
/* $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>
#define NDEBUG
@ -15,11 +22,9 @@
*/
VOID
STDCALL
SetLastError (
DWORD dwErrorCode
)
SetLastError (DWORD dwErrorCode)
{
NtCurrentTeb ()->LastErrorValue = (ULONG) dwErrorCode;
NtCurrentTeb ()->LastErrorValue = (ULONG) dwErrorCode;
}
@ -30,7 +35,7 @@ DWORD
STDCALL
GetLastError (VOID)
{
return (DWORD) (NtCurrentTeb ()->LastErrorValue);
return (DWORD) (NtCurrentTeb ()->LastErrorValue);
}

View file

@ -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 @@ __inline static UINT get_lcid_codepage( LCID lcid )
/*
* @implemented
*/
/* Synced to Wine-20102004 */
int
STDCALL
CompareStringA (

View file

@ -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>

View file

@ -1,24 +1,15 @@
/*
* ReactOS Kernel
* Copyright (C) 2004 ReactOS Team
/* $Id$
*
* 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
* 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 *******************************************************************/

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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@reactos.com>
*/

View file

@ -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@reactos.com>
* Robert Dickenson (robd@mok.lvcm.com)