home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l430 / 1.ddi / CHAP5.ZIP / PSP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-11  |  794 b   |  45 lines

  1. /*
  2. PSP.H -- Windows PSP structure
  3.  
  4. from "Undocumented Windows" by Schulman et al. (Addison-Wesley, 1992)
  5. Chapter 5: KERNEL
  6.  
  7. Copyright (c) Andrew Schulman 1992
  8. */
  9.  
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13.  
  14. typedef struct _PSP
  15. {
  16.     WORD    signature;
  17.     WORD    lastBlock;
  18.     BYTE    r1;
  19.     BYTE    dispatch[5];
  20.     DWORD   int22;
  21.     DWORD   int23;
  22.     DWORD   int24;
  23.     WORD    parent;
  24.     BYTE    handles[20];
  25.     WORD    environment;
  26.     DWORD   saveStack;
  27.     WORD    handleCount;
  28.     DWORD   handleTablePtr;
  29.     DWORD   sharePrevPSP;
  30.     BYTE    r3[20];
  31.     BYTE    int21Dispatch[3];
  32.     BYTE    r4[9];
  33.     BYTE    fcb1[16];
  34.     BYTE    fcb2[16];
  35.     DWORD   r5;
  36.     BYTE    argLen;
  37.     char    args[127];
  38. }PSP;
  39.  
  40.  
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44.  
  45.