Changeset 1678 for trunk/src/win32k/include
- Timestamp:
- Nov 10, 1999, 2:45:38 AM (26 years ago)
- Location:
- trunk/src/win32k/include
- Files:
-
- 2 added
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/win32k/include/LdrCalls.h
r847 r1678 1 /* $Id: LdrCalls.h,v 1. 1 1999-09-06 02:19:58bird Exp $1 /* $Id: LdrCalls.h,v 1.2 1999-11-10 01:45:32 bird Exp $ 2 2 * 3 3 * Prototypes for the loader overrided function. 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/include/OS2Krnl.h
r1467 r1678 1 /* $Id: OS2Krnl.h,v 1. 2 1999-10-27 02:02:55bird Exp $1 /* $Id: OS2Krnl.h,v 1.3 1999-11-10 01:45:31 bird Exp $ 2 2 * 3 3 * OS/2 kernel structures, typedefs and macros. 4 * 5 * Project Odin Software License can be found in LICENSE.TXT 4 6 * 5 7 */ -
trunk/src/win32k/include/asmutils.h
r1467 r1678 1 /* $Id: asmutils.h,v 1. 2 1999-10-27 02:02:55bird Exp $1 /* $Id: asmutils.h,v 1.3 1999-11-10 01:45:32 bird Exp $ 2 2 * 3 3 * Assembly utilities. 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/include/cout.h
r1467 r1678 1 /* $Id: cout.h,v 1. 2 1999-10-27 02:02:55bird Exp $1 /* $Id: cout.h,v 1.3 1999-11-10 01:45:32 bird Exp $ 2 2 * 3 3 * cout - cout replacement. 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/include/dev16.h
r1467 r1678 1 /* $Id: dev16.h,v 1. 2 1999-10-27 02:02:56bird Exp $1 /* $Id: dev16.h,v 1.3 1999-11-10 01:45:32 bird Exp $ 2 2 * dev16 - 16-bit specific. Should not be used in 32-bit C/C++. 3 3 * 4 4 * Copyright (c) 1999 knut st. osmundsen 5 * 6 * Project Odin Software License can be found in LICENSE.TXT 5 7 * 6 8 */ -
trunk/src/win32k/include/dev32.h
r1467 r1678 1 /* $Id: dev32.h,v 1. 3 1999-10-27 02:02:56bird Exp $1 /* $Id: dev32.h,v 1.4 1999-11-10 01:45:32 bird Exp $ 2 2 * 3 3 * dev32 - header file for 32-bit part of the driver. 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/include/dev32hlp.h
r1535 r1678 1 /* $Id: dev32hlp.h,v 1. 2 1999-10-31 23:57:03bird Exp $1 /* $Id: dev32hlp.h,v 1.3 1999-11-10 01:45:32 bird Exp $ 2 2 * 3 3 * Dev32Hlp - 32-bit Device helpers. 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/include/devSegDf.inc
r1467 r1678 1 ; $Id: devSegDf.inc,v 1. 2 1999-10-27 02:02:56bird Exp $1 ; $Id: devSegDf.inc,v 1.3 1999-11-10 01:45:32 bird Exp $ 2 2 ; 3 3 ; Segment definitions for win32k.sys. 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/include/elf.h
r1270 r1678 1 /* $Id: elf.h,v 1. 1 1999-10-14 01:17:55bird Exp $1 /* $Id: elf.h,v 1.2 1999-11-10 01:45:32 bird Exp $ 2 2 * 3 3 * ELF stuff. 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/include/ldr.h
r1467 r1678 1 /* $Id: ldr.h,v 1. 3 1999-10-27 02:02:56bird Exp $1 /* $Id: ldr.h,v 1.4 1999-11-10 01:45:32 bird Exp $ 2 2 * 3 3 * ldr - loader header file. 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 */ … … 45 47 union 46 48 { 49 ModuleBase *pModule; /* Pointer to a Pe2Lx object. (Win32 executables) */ 50 #if defined(_PE2LX_H_) 47 51 Pe2Lx * pPe2Lx; /* Pointer to a Pe2Lx object. (Win32 executables) */ 48 #if 0 52 #endif 53 #if defined(_ELF2LX_H_) 49 54 Elf2Lx * pElf2Lx; /* Pointer to a Elf2Lx object. (ELF executables) */ 55 #endif 56 #if defined(_SCRIPT_H_) 50 57 Script * pScript; /* Pointer to a Script object. (Shell scripts) */ 58 #endif 59 #if defined(_PE_H_) 51 60 Pe * pPe; /* Pointer to a Pe object. (Ring3 loader) */ 52 61 #endif 53 void * pv;54 62 } Data; /* Pointer to data. Currently it's allways a Pe2Lx object! */ 55 63 } MODULE, *PMODULE; … … 70 78 PMODULE getModuleByFilename(PCSZ pszFilename); 71 79 72 ULONG addModule(SFN hFile, PMTE pMTE, ULONG fFlags, void *pData);80 ULONG addModule(SFN hFile, PMTE pMTE, ULONG fFlags, ModuleBase *pModObj); 73 81 ULONG removeModule(SFN hFile); 74 82 -
trunk/src/win32k/include/malloc.h
r1535 r1678 1 /* $Id: malloc.h,v 1. 4 1999-10-31 23:57:04bird Exp $1 /* $Id: malloc.h,v 1.5 1999-11-10 01:45:32 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/include/new.h
r1269 r1678 1 /* $Id: new.h,v 1. 2 1999-10-14 01:16:50bird Exp $1 /* $Id: new.h,v 1.3 1999-11-10 01:45:32 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/include/omf.h
r847 r1678 1 /* $Id: omf.h,v 1. 1 1999-09-06 02:19:59bird Exp $ */1 /* $Id: omf.h,v 1.2 1999-11-10 01:45:33 bird Exp $ */ 2 2 /* 3 3 * OMF stuff 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/include/options.h
r1535 r1678 1 /* $Id: options.h,v 1. 3 1999-10-31 23:57:04bird Exp $1 /* $Id: options.h,v 1.4 1999-11-10 01:45:33 bird Exp $ 2 2 * 3 3 * Options. … … 46 46 o.fScript = FALSE; \ 47 47 o.fNoLoader = FALSE; \ 48 o.cbHeap = 0x100000; /* 1MB */ 48 o.cbHeap = 0x100000; /* 1MB */ \ 49 o.cbHeapMax = 0x100000; /* 1MB */ \ 50 o.cbHeapResident = 0x10000; /* 64KB */ \ 51 o.cbHeapMaxResident = 0x1000; /* 4KB */ \ 49 52 50 53 … … 83 86 /** @cat Options affecting the heap. */ 84 87 ULONG cbHeap; /* Initial heapsize. */ 85 #if 086 88 ULONG cbHeapMax; /* Maximum heapsize. */ 87 89 ULONG cbHeapResident; /* Initial residentheapsize. */ 88 90 ULONG cbHeapMaxResident; /* Maxiumem residentheapsize. */ 89 #endif90 91 }; 91 92 -
trunk/src/win32k/include/pe2lx.h
r1467 r1678 1 /* $Id: pe2lx.h,v 1. 5 1999-10-27 02:02:57bird Exp $1 /* $Id: pe2lx.h,v 1.6 1999-11-10 01:45:33 bird Exp $ 2 2 * 3 3 * Pe2Lx class declarations. Ring 0 and Ring 3 … … 18 18 *******************************************************************************/ 19 19 /* 20 * Misc21 */22 #define PAGESIZE 0x100023 24 /*25 20 * BufferedRVAReader config 26 21 */ 27 22 #define BUFFEREDRVAREADER_BUFFERSIZE PAGESIZE /* reader code assumes this size... */ 28 29 30 /*31 * Error definitions (used in addition to them in bseerr.h)32 */33 #define ERROR_FAILED_TO_ADD_OBJECT 0x42000000UL34 #define ERROR_INITMETHOD_NOT_INITTIME 0x42000001UL35 #define ERROR_INTERNAL_PROCESSING_ERROR 0x42000002UL36 37 38 /*39 * Output macros.40 * Macros: option infolevel41 * printIPE -W1 Error42 * printErr -W1 Error43 * printWar -W2 Warning44 * printInf -W3 Info45 * printInfA -W4 InfoAll46 */47 #define printIPE(a) (Pe2Lx::ulInfoLevel >= Pe2Lx::Error ? \48 Pe2Lx::printf("\nerror(%d:"__FUNCTION__"): !Internal Processing Error!\n\t", __LINE__), \49 Pe2Lx::printf a, \50 Pe2Lx::printf("\n") \51 : (void)0,(void)0,(void)0 )52 #define printErr(a) (Pe2Lx::ulInfoLevel >= Pe2Lx::Error ? \53 Pe2Lx::printf("error(%d:"__FUNCTION__"): ", __LINE__), \54 Pe2Lx::printf a \55 : (void)0,(void)0 )56 #define printWar(a) (Pe2Lx::ulInfoLevel >= Pe2Lx::Warning ? \57 Pe2Lx::printf("warning("__FUNCTION__"): "), \58 Pe2Lx::printf a \59 : (void)0,(void)0 )60 #define printInf(a) (Pe2Lx::ulInfoLevel >= Pe2Lx::Info ? \61 Pe2Lx::printf a : (void)0 )62 #define printInfA(a)(Pe2Lx::ulInfoLevel >= Pe2Lx::InfoAll ? \63 Pe2Lx::printf a : (void)0 )64 23 65 24 … … 97 56 * @approval knut st. osmundsen 98 57 */ 99 class Pe2Lx 58 class Pe2Lx : public ModuleBase 100 59 { 101 60 public: … … 112 71 113 72 /** @cat public Helper methods */ 114 BOOL queryIsModuleName(PCSZ pszFilename);115 73 ULONG querySizeOfLxFile(); 116 74 VOID dumpVirtualLxFile(); 117 118 75 119 76 private: … … 165 122 static VOID dumpSectionHeader(PIMAGE_SECTION_HEADER pSection); 166 123 167 /** @cat static print method */168 public:169 static VOID printf(PCSZ pszFormat, ...);170 171 124 private: 172 125 /** @cat private data members - allways present. */ 173 #ifdef DEBUG174 BOOL fInitTime; /* init time indicator (debug) */175 #endif176 SFN hFile; /* filehandle */177 PSZ pszFilename; /* fullpath */178 PSZ pszModuleName; /* filename without extention. */179 126 BOOL fAllInOneObject; /* The All-in-object fix will be or is applied. */ 180 127 PLXOBJECT paObjects; /* Pointer to object array. */ … … 241 188 ULONG flFlags; /* equivalent object flags */ 242 189 } paSecChars2Flags[]; 243 244 public:245 static ULONG ulInfoLevel; /* Current output message detail level. */246 enum {Quiet, Error, Warning, Info, InfoAll}; /* Output message detail levels. */247 190 }; 248 191 -
trunk/src/win32k/include/probkrnl.h
r1467 r1678 1 /* $Id: probkrnl.h,v 1. 2 1999-10-27 02:02:57bird Exp $1 /* $Id: probkrnl.h,v 1.3 1999-11-10 01:45:33 bird Exp $ 2 2 * 3 3 * Include file for ProbKrnl. 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/include/sprintf.h
r847 r1678 1 /* $Id: sprintf.h,v 1. 1 1999-09-06 02:19:59bird Exp $1 /* $Id: sprintf.h,v 1.2 1999-11-10 01:45:33 bird Exp $ 2 2 * 3 3 * sprintf/vsprintf header file. 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/include/sym.h
r847 r1678 1 /* $Id: sym.h,v 1. 1 1999-09-06 02:19:59bird Exp $1 /* $Id: sym.h,v 1.2 1999-11-10 01:45:34 bird Exp $ 2 2 * 3 3 * Sym-file definitions and structs. 4 * 5 * Project Odin Software License can be found in LICENSE.TXT 4 6 * 5 7 */ -
trunk/src/win32k/include/types.h
r847 r1678 1 /* $Id: types.h,v 1. 1 1999-09-06 02:20:00bird Exp $1 /* $Id: types.h,v 1.2 1999-11-10 01:45:34 bird Exp $ 2 2 * 3 3 * Common typedeclarations. 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/include/vprintf.h
r1270 r1678 1 /* $Id: vprintf.h,v 1. 1 1999-10-14 01:17:56bird Exp $1 /* $Id: vprintf.h,v 1.2 1999-11-10 01:45:34 bird Exp $ 2 2 * 3 3 * printf/vprintf header file. 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 */ … … 24 26 int printf(const char *pszFormat, ...); 25 27 int vprintf(const char *pszFormat, va_list args); 28 int vprintf2(const char *pszFormat, va_list args); 26 29 27 30 /* -
trunk/src/win32k/include/yield.h
r1535 r1678 1 /* $Id: yield.h,v 1. 2 1999-10-31 23:57:05bird Exp $1 /* $Id: yield.h,v 1.3 1999-11-10 01:45:34 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 */ … … 18 20 BOOL Yield(void); 19 21 #else 20 #define Yield() FALSE22 #define Yield() (DosSleep(0) == NO_ERROR) 21 23 #endif 22 24
Note:
See TracChangeset
for help on using the changeset viewer.