mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 19:26:16 +00:00
Move kernekl32-internal declarations from global include directory to local one.
svn path=/trunk/; revision=7851
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: cnotify.c,v 1.9 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: cnotify.c,v 1.10 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: copy.c,v 1.17 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: copy.c,v 1.18 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: create.c,v 1.34 2003/11/27 20:57:58 gdalsnes Exp $
|
||||
/* $Id: create.c,v 1.35 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: curdir.c,v 1.40 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: curdir.c,v 1.41 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* GLOBAL VARIABLES **********************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: delete.c,v 1.15 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: delete.c,v 1.16 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: deviceio.c,v 1.14 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: deviceio.c,v 1.15 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -12,8 +12,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
//#define DBG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: dir.c,v 1.43 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: dir.c,v 1.44 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: dosdev.c,v 1.10 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: dosdev.c,v 1.11 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: file.c,v 1.48 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: file.c,v 1.49 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* GLOBALS ******************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: find.c,v 1.42 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: find.c,v 1.43 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* TYPES ********************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: lock.c,v 1.10 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: lock.c,v 1.11 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: mailslot.c,v 1.9 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: mailslot.c,v 1.10 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: move.c,v 1.12 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: move.c,v 1.13 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
#define FILE_RENAME_SIZE MAX_PATH +sizeof(FILE_RENAME_INFORMATION)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: npipe.c,v 1.16 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: npipe.c,v 1.17 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -12,9 +12,8 @@
|
||||
|
||||
#include <k32.h>
|
||||
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: pipe.c,v 1.9 2003/07/10 18:50:51 chorns Exp $
|
||||
/* $Id: pipe.c,v 1.10 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* GLOBALS ******************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: rw.c,v 1.24 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: rw.c,v 1.25 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: tape.c,v 1.6 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: tape.c,v 1.7 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: volume.c,v 1.37 2004/01/23 16:37:11 ekohl Exp $
|
||||
/* $Id: volume.c,v 1.38 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
#define MAX_DOS_DRIVES 26
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
#ifndef _KERNEL32_INCLUDE_DEBUG_H
|
||||
#define _KERNEL32_INCLUDE_DEBUG_H
|
||||
|
||||
#define UNIMPLEMENTED DbgPrint("%s at %s:%d is unimplemented\n",__FUNCTION__,__FILE__,__LINE__);
|
||||
|
||||
#ifdef NDEBUG
|
||||
#define DPRINT(args...)
|
||||
#define CHECKPOINT
|
||||
#ifdef assert
|
||||
#undef assert
|
||||
#endif
|
||||
#define assert(x)
|
||||
#else
|
||||
#define DPRINT(args...) do { DbgPrint("(KERNEL32:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0);
|
||||
#define CHECKPOINT do { DbgPrint("(KERNEL32:%s:%d) Checkpoint\n",__FILE__,__LINE__); } while(0);
|
||||
#ifdef assert
|
||||
#undef assert
|
||||
#endif
|
||||
#define assert(x) do { if(!x) RtlAssert(x, __FILE__,__LINE__, ""); } while(0);
|
||||
#endif
|
||||
|
||||
#define DPRINT1(args...) do { DbgPrint("(KERNEL32:%s:%d) ",__FILE__,__LINE__); DbgPrint(args); } while(0);
|
||||
#define CHECKPOINT1 do { DbgPrint("(KERNEL32:%s:%d) Checkpoint\n",__FILE__,__LINE__); } while(0);
|
||||
|
||||
#endif /* ndef _KERNEL32_INCLUDE_DEBUG_H */
|
||||
Executable
+47
@@ -0,0 +1,47 @@
|
||||
#ifndef _KERNEL32_INCLUDE_KERNEL32_H
|
||||
#define _KERNEL32_INCLUDE_KERNEL32_H
|
||||
|
||||
|
||||
#define MAGIC(c1,c2,c3,c4) ((c1) + ((c2)<<8) + ((c3)<<16) + ((c4)<<24))
|
||||
|
||||
#define MAGIC_HEAP MAGIC( 'H','E','A','P' )
|
||||
|
||||
#define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b))
|
||||
#define ROUNDDOWN(a,b) (((a)/(b))*(b))
|
||||
|
||||
#ifndef FIELD_OFFSET
|
||||
#define FIELD_OFFSET(type,fld) ((LONG)&(((type *)0)->fld))
|
||||
#endif
|
||||
|
||||
#define SetLastErrorByStatus(__S__) \
|
||||
((void)SetLastError(RtlNtStatusToDosError(__S__)))
|
||||
|
||||
typedef
|
||||
DWORD
|
||||
(*WaitForInputIdleType)(
|
||||
HANDLE hProcess,
|
||||
DWORD dwMilliseconds);
|
||||
|
||||
/* GLOBAL VARIABLES **********************************************************/
|
||||
|
||||
extern BOOL bIsFileApiAnsi;
|
||||
extern HANDLE hProcessHeap;
|
||||
extern HANDLE hBaseDir;
|
||||
|
||||
extern CRITICAL_SECTION DllLock;
|
||||
|
||||
/* FUNCTION PROTOTYPES *******************************************************/
|
||||
|
||||
BOOL STDCALL IsConsoleHandle(HANDLE Handle);
|
||||
|
||||
BOOL STDCALL CloseConsoleHandle(HANDLE Handle);
|
||||
|
||||
HANDLE STDCALL OpenConsoleW (LPWSTR wsName,
|
||||
DWORD dwDesiredAccess,
|
||||
BOOL bInheritHandle,
|
||||
DWORD dwCreationDistribution);
|
||||
|
||||
PTEB GetTeb(VOID);
|
||||
|
||||
#endif /* ndef _KERNEL32_INCLUDE_KERNEL32_H */
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
#include <ddk/ntddbeep.h>
|
||||
#include <ddk/ntddser.h>
|
||||
#include <windows.h>
|
||||
#include <kernel32/proc.h>
|
||||
#include <kernel32/thread.h>
|
||||
#include <ntdll/base.h>
|
||||
#include <ntdll/rtl.h>
|
||||
#include <ntdll/dbg.h>
|
||||
@@ -25,3 +23,5 @@
|
||||
#include <reactos/buildno.h>
|
||||
#include <rosrtl/thread.h>
|
||||
#include <rosrtl/string.h>
|
||||
|
||||
#include "include/kernel32.h"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: global.c,v 1.19 2004/01/21 18:57:21 navaraf Exp $
|
||||
/* $Id: global.c,v 1.20 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* Win32 Global/Local heap functions (GlobalXXX, LocalXXX).
|
||||
* These functions included in Win32 for compatibility with 16 bit Windows
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <time.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
#ifdef _GNUC_
|
||||
#define STRUCT_PACK __attribute__((packed))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: heap.c,v 1.25 2004/01/23 17:13:36 ekohl Exp $
|
||||
/* $Id: heap.c,v 1.26 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* kernel/heap.c
|
||||
* Copyright (C) 1996, Onno Hovers, All rights reserved
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/*********************************************************************
|
||||
* HeapCreate -- KERNEL32 *
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: isbad.c,v 1.9 2004/01/23 17:13:36 ekohl Exp $
|
||||
/* $Id: isbad.c,v 1.10 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* lib/kernel32/mem/isbad.c
|
||||
*
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* FIXME: Stubs. What is it for? */
|
||||
/*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: local.c,v 1.9 2003/07/10 18:50:51 chorns Exp $
|
||||
/* $Id: local.c,v 1.10 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* Copyright (C) 1996, Onno Hovers, All rights reserved
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* FUNCTIONS ***************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: section.c,v 1.22 2004/01/23 17:13:36 ekohl Exp $
|
||||
/* $Id: section.c,v 1.23 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: atom.c,v 1.18 2003/10/28 09:49:04 navaraf Exp $
|
||||
/* $Id: atom.c,v 1.19 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: comm.c,v 1.10 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: comm.c,v 1.11 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* BUILDCOMMDCB & BUILDCOMMDCBANDTIMEOUTS */
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: computername.c,v 1.3 2003/09/12 17:51:47 vizzini Exp $
|
||||
/* $Id: computername.c,v 1.4 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: console.c,v 1.72 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: console.c,v 1.73 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -17,7 +17,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
#define _NOACHS(__X) (sizeof(__X) / sizeof((__X)[0]))
|
||||
extern BOOL WINAPI DefaultConsoleCtrlHandler(DWORD Event);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: dllmain.c,v 1.31 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: dllmain.c,v 1.32 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: env.c,v 1.24 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: env.c,v 1.25 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ******************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: error.c,v 1.21 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: error.c,v 1.22 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* reactos/lib/kernel32/misc/error.c
|
||||
*
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: errormsg.c,v 1.15 2003/11/19 22:19:17 sedwards Exp $
|
||||
/* $Id: errormsg.c,v 1.16 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* reactos/lib/kernel32/misc/errormsg.c
|
||||
*
|
||||
@@ -23,8 +23,10 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <ddk/ntddk.h>
|
||||
#include <kernel32/kernel32.h>
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include "../include/debug.h"
|
||||
|
||||
#define TRACE DPRINT
|
||||
#define FIXME DPRINT
|
||||
@@ -45,8 +47,6 @@ inline static LPSTR HEAP_strdupWtoA( HANDLE heap, DWORD flags, LPCWSTR str )
|
||||
|
||||
/* INTERNAL */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
typedef struct tagMESSAGE_RESOURCE_ENTRY {
|
||||
WORD Length;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: handle.c,v 1.15 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: handle.c,v 1.16 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: lang.c,v 1.10 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: lang.c,v 1.11 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT : ReactOS user mode libraries
|
||||
@@ -10,8 +10,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include <string.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* FIXME: these are included in winnls.h, however including this file causes alot of
|
||||
conflicting type errors. */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: ldr.c,v 1.18 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: ldr.c,v 1.19 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT : ReactOS user mode libraries
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: lzexpand_main.c,v 1.1 2003/08/28 19:34:10 gvg Exp $
|
||||
/* $Id: lzexpand_main.c,v 1.2 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* LZ Decompression functions
|
||||
*
|
||||
@@ -25,7 +25,7 @@
|
||||
//#include "config.h"
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: perfcnt.c,v 1.3 2004/01/23 17:15:23 ekohl Exp $ */
|
||||
/* $Id: perfcnt.c,v 1.4 2004/01/23 21:16:03 ekohl Exp $ */
|
||||
/*
|
||||
* PROJECT: ReactOS system libraries
|
||||
* FILE: lib/kernel32/misc/perfcnt.c
|
||||
@@ -29,7 +29,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: res.c,v 1.19 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: res.c,v 1.20 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT : ReactOS user mode libraries
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: sysinfo.c,v 1.9 2003/07/17 16:57:38 silverblade Exp $
|
||||
/* $Id: sysinfo.c,v 1.10 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* reactos/lib/kernel32/misc/sysinfo.c
|
||||
*
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
#define PV_NT351 0x00030033
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: time.c,v 1.25 2004/01/23 17:15:23 ekohl Exp $
|
||||
/* $Id: time.c,v 1.26 2004/01/23 21:16:03 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* TYPES *********************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: cmdline.c,v 1.18 2004/01/23 17:16:26 ekohl Exp $
|
||||
/* $Id: cmdline.c,v 1.19 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* GLOBALS ******************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: create.c,v 1.79 2004/01/06 13:47:01 mf Exp $
|
||||
/* $Id: create.c,v 1.80 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
@@ -789,14 +789,14 @@ GetFileName(LPCWSTR CurDir, LPCWSTR AppName, LPWSTR CmdLine, LPWSTR Buffer,
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
CreateProcessW
|
||||
(
|
||||
LPCWSTR lpApplicationName,
|
||||
LPWSTR lpCommandLine,
|
||||
LPSECURITY_ATTRIBUTES lpProcessAttributes,
|
||||
LPSECURITY_ATTRIBUTES lpThreadAttributes,
|
||||
WINBOOL bInheritHandles,
|
||||
BOOL bInheritHandles,
|
||||
DWORD dwCreationFlags,
|
||||
LPVOID lpEnvironment,
|
||||
LPCWSTR lpCurrentDirectory,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: proc.c,v 1.58 2004/01/23 17:16:26 ekohl Exp $
|
||||
/* $Id: proc.c,v 1.59 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* GLOBALS *******************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: critical.c,v 1.14 2003/07/10 18:50:51 chorns Exp $
|
||||
/* $Id: critical.c,v 1.15 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: event.c,v 1.17 2004/01/23 17:17:10 ekohl Exp $
|
||||
/* $Id: event.c,v 1.18 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,8 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: mutex.c,v 1.7 2004/01/23 17:17:10 ekohl Exp $
|
||||
/* $Id: mutex.c,v 1.8 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,8 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: sem.c,v 1.7 2004/01/23 17:17:10 ekohl Exp $
|
||||
/* $Id: sem.c,v 1.8 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,8 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: timer.c,v 1.14 2004/01/23 17:17:10 ekohl Exp $
|
||||
/* $Id: timer.c,v 1.15 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
@@ -12,7 +12,8 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: wait.c,v 1.26 2004/01/23 17:17:10 ekohl Exp $
|
||||
/* $Id: wait.c,v 1.27 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -14,7 +14,8 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS ****************************************************************/
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: fiber.c,v 1.8 2003/09/12 17:51:47 vizzini Exp $
|
||||
/* $Id: fiber.c,v 1.9 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* FILE: lib/kernel32/thread/fiber.c
|
||||
*
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
struct _FIBER /* Field offsets: */
|
||||
{ /* 32 bit 64 bit */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: fls.c,v 1.3 2003/07/10 18:50:51 chorns Exp $
|
||||
/* $Id: fls.c,v 1.4 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <k32.h>
|
||||
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: thread.c,v 1.48 2003/12/30 05:10:32 hyperion Exp $
|
||||
/* $Id: thread.c,v 1.49 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -16,9 +16,8 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
//static VOID ThreadAttachDlls (VOID);
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
@@ -263,7 +262,7 @@ GetTeb(VOID)
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
SwitchToThread(VOID)
|
||||
{
|
||||
NTSTATUS errCode;
|
||||
@@ -315,7 +314,7 @@ ExitThread(DWORD uExitCode)
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
GetThreadTimes(HANDLE hThread,
|
||||
LPFILETIME lpCreationTime,
|
||||
LPFILETIME lpExitTime,
|
||||
@@ -349,7 +348,7 @@ GetThreadTimes(HANDLE hThread,
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
GetThreadContext(HANDLE hThread,
|
||||
LPCONTEXT lpContext)
|
||||
{
|
||||
@@ -370,7 +369,7 @@ GetThreadContext(HANDLE hThread,
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
SetThreadContext(HANDLE hThread,
|
||||
CONST CONTEXT *lpContext)
|
||||
{
|
||||
@@ -391,7 +390,7 @@ SetThreadContext(HANDLE hThread,
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
GetExitCodeThread(HANDLE hThread,
|
||||
LPDWORD lpExitCode)
|
||||
{
|
||||
@@ -440,7 +439,7 @@ ResumeThread(HANDLE hThread)
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
TerminateThread(HANDLE hThread,
|
||||
DWORD dwExitCode)
|
||||
{
|
||||
@@ -524,7 +523,7 @@ SetThreadAffinityMask(HANDLE hThread,
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
SetThreadPriority(HANDLE hThread,
|
||||
int nPriority)
|
||||
{
|
||||
@@ -574,7 +573,7 @@ GetThreadPriority(HANDLE hThread)
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
GetThreadPriorityBoost(IN HANDLE hThread,
|
||||
OUT PBOOL pDisablePriorityBoost)
|
||||
{
|
||||
@@ -593,7 +592,7 @@ GetThreadPriorityBoost(IN HANDLE hThread,
|
||||
return(FALSE);
|
||||
}
|
||||
|
||||
*pDisablePriorityBoost = !((WINBOOL)PriorityBoost);
|
||||
*pDisablePriorityBoost = !((BOOL)PriorityBoost);
|
||||
|
||||
return(TRUE);
|
||||
}
|
||||
@@ -602,9 +601,9 @@ GetThreadPriorityBoost(IN HANDLE hThread,
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
SetThreadPriorityBoost(IN HANDLE hThread,
|
||||
IN WINBOOL bDisablePriorityBoost)
|
||||
IN BOOL bDisablePriorityBoost)
|
||||
{
|
||||
ULONG PriorityBoost;
|
||||
NTSTATUS Status;
|
||||
@@ -628,7 +627,7 @@ SetThreadPriorityBoost(IN HANDLE hThread,
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
GetThreadSelectorEntry(IN HANDLE hThread,
|
||||
IN DWORD dwSelector,
|
||||
OUT LPLDT_ENTRY lpSelectorEntry)
|
||||
@@ -641,7 +640,7 @@ GetThreadSelectorEntry(IN HANDLE hThread,
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
WINBOOL STDCALL
|
||||
BOOL STDCALL
|
||||
SetThreadIdealProcessor(HANDLE hThread,
|
||||
DWORD dwIdealProcessor)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* $Id: tls.c,v 1.13 2004/01/23 17:18:16 ekohl Exp $
|
||||
/* $Id: tls.c,v 1.14 2004/01/23 21:16:04 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <k32.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <kernel32/kernel32.h>
|
||||
#include "../include/debug.h"
|
||||
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user