- Timestamp:
- Sep 2, 2000, 10:45:29 PM (25 years ago)
- Location:
- branches
- Files:
-
- 2 edited
-
GRACE/src/win32k/include/k32.h (modified) (2 diffs)
-
Grace/src/win32k/include/win32k.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/GRACE/src/win32k/include/k32.h
r4112 r4157 1 /* $Id: k32.h,v 1.2.4. 1 2000-08-29 19:47:01bird Exp $1 /* $Id: k32.h,v 1.2.4.2 2000-09-02 20:45:29 bird Exp $ 2 2 * 3 3 * k32 - definitions. … … 21 21 APIRET k32AllocMemEx(PPVOID ppb, ULONG cb, ULONG flag, ULONG ulCS, ULONG ulEIP); 22 22 APIRET k32QueryOTEs(HMTE hMTE, PQOTEBUFFER pQOte, ULONG cbOte); 23 APIRET k32QueryOptionsStatus(PK32OPTIONS pOptions, PK32STATUS pStatus); 24 APIRET k32SetOptions(PK32OPTIONS pOptions); 23 25 24 26 -
branches/Grace/src/win32k/include/win32k.h
r4112 r4157 1 /* $Id: win32k.h,v 1.4.4. 1 2000-08-29 19:47:01bird Exp $1 /* $Id: win32k.h,v 1.4.4.2 2000-09-02 20:45:28 bird Exp $ 2 2 * 3 3 * Top level make file for the Win32k library. … … 26 26 #define K32_ALLOCMEMEX 0x01 27 27 #define K32_QUERYOTES 0x02 28 #define K32_QUERYOPTIONSSTATUS 0x03 29 #define K32_SETOPTIONS 0x04 28 30 29 31 /* … … 61 63 62 64 /* 65 * Options struct. 66 * 67 * (The function of these members are described in options.h in 68 * the src\win32k\include directory.) 69 * All members of this struct (except cb ofcourse) is changable. 70 */ 71 typedef struct _K32Options 72 { 73 ULONG cb; 74 75 /** @cat logging options */ 76 USHORT usCom; /* Output port no. */ 77 ULONG fLogging; /* Logging. */ 78 79 /** @cat Options affecting the generated LX executables */ 80 ULONG fPE; /* Flags set the type of conversion. */ 81 ULONG ulInfoLevel; /* Pe2Lx InfoLevel. */ 82 83 /** @cat Options affecting the generated ELF executables */ 84 ULONG fElf; /* Elf flags. */ 85 86 /** @cat Options affecting the UNIX script executables */ 87 ULONG fUNIXScript; /* UNIX script flags. */ 88 89 /** @cat Options affecting the REXX script executables */ 90 ULONG fREXXScript; /* REXX script flags. */ 91 92 /** @cat Options affecting the JAVA executables */ 93 ULONG fJava; /* Java flags. */ 94 95 /** @cat Options affecting the executables */ 96 ULONG fNoLoader; /* No loader stuff. !FIXME! We should import / functions even if this flag is set!!! */ 97 98 /** @cat Options affecting the heap. */ 99 ULONG cbSwpHeapMax; /* Maximum heapsize. */ 100 ULONG cbResHeapMax; /* Maxiumem residentheapsize. */ 101 } K32OPTIONS, *PK32OPTIONS; 102 103 104 /* 105 * Status struct. 106 * 107 */ 108 typedef struct _K32Status 109 { 110 ULONG cb; 111 112 /** @cat Options status. */ 113 ULONG fQuiet; /* Quiet initialization. */ 114 115 /** @cat Kernel status. */ 116 ULONG fKernel; /* Smp or uni kernel. */ 117 ULONG ulBuild; /* Kernel build. */ 118 USHORT usVerMajor; /* OS/2 major ver - 20 */ 119 USHORT usVerMinor; /* OS/2 minor ver - 30,40 */ 120 121 /** @cat Heap status. */ 122 ULONG cbSwpHeapInit; /* Initial heapsize. */ 123 ULONG cbSwpHeapFree; /* Amount of used space. */ 124 ULONG cbSwpHeapUsed; /* Amount of free space reserved. */ 125 ULONG cbSwpHeapSize; /* Amount of memory used by the heap free and used++. */ 126 ULONG cSwpBlocksUsed; /* Count of used blocks. */ 127 ULONG cSwpBlocksFree; /* Count of free blocks. */ 128 129 ULONG cbResHeapInit; /* Initial heapsize. */ 130 ULONG cbResHeapFree; /* Amount of free space reserved. */ 131 ULONG cbResHeapUsed; /* Amount of used space. */ 132 ULONG cbResHeapSize; /* Amount of memory used by the heap free and used++. */ 133 ULONG cResBlocksUsed; /* Count of used blocks. */ 134 ULONG cResBlocksFree; /* Count of free blocks. */ 135 136 /** @cat Win32k build, version and init stuff */ 137 CHAR szBuildDate[12]; /* Date of the win32k build. (Sep 02 2000) */ 138 CHAR szBuildTime[9]; /* Time of the win32k build. (11:44:21) */ 139 ULONG ulVersion; /* Win32k version */ 140 CHAR szSymFile[CCHMAXPATH]; /* The name of the symbol file or sym database. */ 141 142 /** @cat Statistics */ 143 ULONG cPe2LxModules; /* Number of Pe2Lx modules currently loaded. */ 144 ULONG cElf2LxModules; /* Number of Elf2Lx modules currently loaded. */ 145 /*...*/ 146 } K32STATUS, *PK32STATUS; 147 148 149 150 /* 63 151 * K32 category parameter structs 64 152 */ … … 83 171 } K32QUERYOTES, *PK32QUERYOTES; 84 172 173 typedef struct _k32QueryOptionsStatus 174 { 175 PK32OPTIONS pOptions; /* Pointer to option struct. (NULL allowed) */ 176 PK32STATUS pStatus; /* Pointer to status struct. (NULL allowed) */ 177 ULONG rc; /* Return code. */ 178 } K32QUERYOPTIONSSTATUS, *PK32QUERYOPTIONSSTATUS; 179 180 typedef struct _k32SetOptions 181 { 182 PK32OPTIONS pOptions; /* Pointer to option struct. (NULL allowed) */ 183 ULONG rc; /* Return code. */ 184 } K32SETOPTIONS, *PK32SETOPTIONS; 185 85 186 86 187 #pragma pack() … … 90 191 * External Functions * 91 192 *******************************************************************************/ 193 /* Win32k APIs */ 92 194 APIRET APIENTRY libWin32kInit(void); 93 195 APIRET APIENTRY libWin32kTerm(void); 94 USHORT APIENTRY libHelperGetCS(void);95 196 BOOL APIENTRY libWin32kInstalled(void); 197 APIRET APIENTRY libWin32kQueryOptionsStatus(PK32OPTIONS pOptions, PK32STATUS pStatus); 198 APIRET APIENTRY libWin32kSetOptions(PK32OPTIONS pOptions); 199 200 /* "Extra OS2 APIs" */ 96 201 APIRET APIENTRY DosAllocMemEx(PPVOID ppv, ULONG cb, ULONG flag); 97 202 APIRET APIENTRY W32kQueryOTEs(HMODULE hMTE, PQOTEBUFFER pQOte, ULONG cbQOte); 98 203 204 /* Helper function */ 205 USHORT APIENTRY libHelperGetCS(void); 206 99 207 100 208 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
