Changeset 1678 for trunk/src/win32k/misc
- Timestamp:
- Nov 10, 1999, 2:45:38 AM (26 years ago)
- Location:
- trunk/src/win32k/misc
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/misc/malloc.c
r1536 r1678 1 /* $Id: malloc.c,v 1. 4 1999-11-01 09:28:58bird Exp $1 /* $Id: malloc.c,v 1.5 1999-11-10 01:45:36 bird Exp $ 2 2 * 3 3 * Heap. … … 7 7 * 8 8 * Copyright (c) 1999 knut st. osmundsen 9 * 10 * Project Odin Software License can be found in LICENSE.TXT 9 11 * 10 12 */ -
trunk/src/win32k/misc/new.cpp
r1271 r1678 1 /* $Id: new.cpp,v 1. 2 1999-10-14 01:19:21bird Exp $1 /* $Id: new.cpp,v 1.3 1999-11-10 01:45:37 bird Exp $ 2 2 * 3 3 * new - new and delete operators. 4 4 * 5 5 * Copyright (c) 1998-1999 knut st. osmundsen 6 * 7 * Project Odin Software License can be found in LICENSE.TXT 6 8 * 7 9 */ -
trunk/src/win32k/misc/stricmp.c
r1271 r1678 1 /* $Id: stricmp.c,v 1. 2 1999-10-14 01:19:21bird Exp $1 /* $Id: stricmp.c,v 1.3 1999-11-10 01:45:37 bird Exp $ 2 2 * 3 3 * stricmp - Case insensitive string compare. 4 4 * 5 5 * Copyright (c) 1999 knut st. osmundsen 6 * 7 * Project Odin Software License can be found in LICENSE.TXT 6 8 * 7 9 */ -
trunk/src/win32k/misc/vprintf.c
r1536 r1678 1 /* $Id: vprintf.c,v 1. 4 1999-11-01 09:28:59bird Exp $1 /* $Id: vprintf.c,v 1.5 1999-11-10 01:45:37 bird Exp $ 2 2 * 3 3 * vprintf and printf 4 4 * 5 5 * Copyright (c) 1999 knut st. osmundsen 6 * 7 * Project Odin Software License can be found in LICENSE.TXT 6 8 * 7 9 */ … … 22 24 #define NTSF_BLANK 0x0040 23 25 24 #define INCL_NOAPI 26 27 #ifdef RING0 28 #define INCL_NOAPI 29 #else 30 #define INCL_DOSPROCESS 31 #define INCL_DOSERRORS 32 #endif 25 33 26 34 /******************************************************************************* … … 205 213 206 214 207 #pragma info(notrd)208 215 /** 209 216 * Partial vprintf implementation. 217 * This function checks the fLogging flag, and will therefore only write if logging is enabled. 210 218 * @returns number of 211 * @param pszBuffer Output buffer.212 219 * @param pszFormat Format string. 213 220 * @param args Argument list. … … 215 222 int vprintf(const char *pszFormat, va_list args) 216 223 { 217 #ifdef RING0 218 if (!options.fLogging) 219 return 0; 220 #else 224 if (!options.fLogging) 225 return 0; 226 return vprintf2(pszFormat, args); 227 } 228 229 #pragma info(notrd) 230 /** 231 * Partial vprintf implementation. 232 * This function don't check the fLogging flag, and will therefore allways write. 233 * @returns number of 234 * @param pszFormat Format string. 235 * @param args Argument list. 236 */ 237 int vprintf2(const char *pszFormat, va_list args) 238 { 239 #ifndef RING0 221 240 int cch = 0; 222 241 #endif … … 413 432 va_list arguments; 414 433 415 #ifdef RING0416 if (!options.fLogging)417 return 0;418 #endif419 420 434 va_start(arguments, pszFormat); 421 435 cch = vprintf(pszFormat, arguments); … … 432 446 va_list arguments; 433 447 434 #ifdef RING0435 if (!options.fLogging)436 return 0;437 #endif438 439 448 va_start(arguments, pszFormat); 440 449 cch = vprintf(pszFormat, arguments); … … 449 458 int cch; 450 459 va_list arguments; 451 452 #ifdef RING0453 if (!options.fLogging)454 return 0;455 #endif456 460 457 461 va_start(arguments, pszFormat); -
trunk/src/win32k/misc/vsprintf.c
r1467 r1678 1 /* $Id: vsprintf.c,v 1. 3 1999-10-27 02:03:00bird Exp $1 /* $Id: vsprintf.c,v 1.4 1999-11-10 01:45:37 bird Exp $ 2 2 * 3 3 * vsprintf and sprintf 4 4 * 5 5 * Copyright (c) 1999 knut st. osmundsen 6 * 7 * Project Odin Software License can be found in LICENSE.TXT 6 8 * 7 9 */ -
trunk/src/win32k/misc/yield.c
r1535 r1678 1 /* $Id: yield.c,v 1. 3 1999-10-31 23:57:08bird Exp $1 /* $Id: yield.c,v 1.4 1999-11-10 01:45:37 bird Exp $ 2 2 * 3 3 * Yield - conversion may take some time. So it is necessary to … … 5 5 * 6 6 * Copyright (c) 1998-1999 knut st. osmundsen 7 * 8 * Project Odin Software License can be found in LICENSE.TXT 7 9 * 8 10 */ … … 29 31 BOOL Yield(void) 30 32 { 33 #if 0 /* Don't work on SMP and may cause trouble with logging at all machines... */ 31 34 PBYTE pfbYield; 32 35 … … 37 40 return TRUE; 38 41 } 39 42 #endif 40 43 return FALSE; 41 44 }
Note:
See TracChangeset
for help on using the changeset viewer.