Changeset 5200 for trunk/include/win32k.h
- Timestamp:
- Feb 20, 2001, 5:56:28 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win32k.h
r5178 r5200 1 /* $Id: win32k.h,v 1. 7 2001-02-19 05:45:12bird Exp $1 /* $Id: win32k.h,v 1.8 2001-02-20 04:56:28 bird Exp $ 2 2 * 3 3 * Top level make file for the Win32k library. … … 31 31 #define K32_HANDLESYSTEMEVENT 0x06 32 32 #define K32_QUERYSYSTEMMEMINFO 0x07 33 #define K32_LASTIOCTLFUNCTION K32_QUERYSYSTEMMEMINFO 34 33 35 34 36 /* … … 258 260 /* 259 261 * K32 category parameter structs 262 * 263 * Note. The ULONG rc should allways be the first datamember! 260 264 */ 261 265 typedef struct _k32AllocMemEx 262 266 { 263 PVOID pv; /* Pointer to allocated memory block */ 264 /* On input this holds the suggested */ 265 /* location of the block. */ 266 ULONG cb; /* Blocksize (bytes) */ 267 ULONG flFlags; /* Flags (equal to DosAllocMem flags) */ 268 ULONG ulCS; /* Call CS */ 269 ULONG ulEIP; /* Call EIP */ 270 ULONG rc; /* Return code. */ 267 ULONG rc; /* Return code. */ 268 PPVOID ppv; /* Pointer to pointer to the allocated memory block */ 269 /* On input it (*ppv) may hold the suggested location of the block. */ 270 ULONG cb; /* Blocksize (bytes) */ 271 ULONG flFlags; /* Flags (equal to DosAllocMem flags) */ 272 ULONG ulCS; /* Call CS */ 273 ULONG ulEIP; /* Call EIP */ 271 274 } K32ALLOCMEMEX, *PK32ALLOCMEMEX; 272 275 273 276 typedef struct _k32QueryOTEs 274 277 { 278 ULONG rc; /* Return code. */ 275 279 HMODULE hMTE; /* Module handle. */ 276 280 PQOTEBUFFER pQOte; /* Pointer to output buffer. */ 277 281 ULONG cbQOte; /* Size of the buffer pointed to by pQOte */ 278 ULONG rc; /* Return code. */279 282 } K32QUERYOTES, *PK32QUERYOTES; 280 283 281 284 typedef struct _k32QueryOptionsStatus 282 285 { 283 PK32OPTIONS pOptions; /* Pointer to option struct. (NULL allowed)*/284 PK32 STATUS pStatus; /* Pointer to statusstruct. (NULL allowed) */285 ULONG rc; /* Return code.*/286 ULONG rc; /* Return code. */ 287 PK32OPTIONS pOptions; /* Pointer to option struct. (NULL allowed) */ 288 PK32STATUS pStatus; /* Pointer to status struct. (NULL allowed) */ 286 289 } K32QUERYOPTIONSSTATUS, *PK32QUERYOPTIONSSTATUS; 287 290 288 291 typedef struct _k32SetOptions 289 292 { 290 PK32OPTIONS pOptions; /* Pointer to option struct. (NULL allowed)*/291 ULONG rc; /* Return code.*/293 ULONG rc; /* Return code. */ 294 PK32OPTIONS pOptions; /* Pointer to option struct. (NULL allowed) */ 292 295 } K32SETOPTIONS, *PK32SETOPTIONS; 293 296 294 297 typedef struct _k32ProcessReadWrite 295 298 { 299 ULONG rc; /* Return code. */ 296 300 PID pid; /* Process ID of the process to access memory in. */ 297 301 ULONG cb; /* Number of bytes to read or write. */ … … 300 304 BOOL fRead; /* TRUE: pvSource is within pid while pvTarget is ours. */ 301 305 /* FALSE: pvTarget is within pid while pvSource is ours. */ 302 ULONG rc; /* Return code. */303 306 } K32PROCESSREADWRITE, *PK32PROCESSREADWRITE; 304 307 305 308 typedef struct _k32HandleSystemEvent 306 309 { 310 ULONG rc; /* Return code. */ 307 311 ULONG ulEvent; /* Event identifier. One of the K32_SYSEVENT_ defines. */ 308 312 HEV hev; /* Handle of shared event semaphore which should be */ … … 311 315 /* TRUE: Take control of the event. */ 312 316 /* FALSE: Give control back to the OS of this event. (hev must match the current handle!) */ 313 ULONG rc; /* Return code. */314 317 } K32HANDLESYSTEMEVENT, *PK32HANDLESYSTEMEVENT; 315 318 316 319 typedef struct _k32QuerySystemMemInfo 317 320 { 321 APIRET rc; /* Return code. */ 318 322 PK32SYSTEMMEMINFO pMemInfo; /* Pointer to system memory info structure with cb set. */ 319 323 /* The other members will be filled on successful return. */ 320 APIRET rc; /* Return code. */321 324 } K32QUERYSYSTEMMEMINFO, *PK32QUERYSYSTEMMEMINFO; 322 325
Note:
See TracChangeset
for help on using the changeset viewer.