Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.8 KiB

  1. //
  2. // Common Vwin32/Kernel32 Data Interface Structure
  3. //
  4. // Used to pass data to/from vwin32 from/to kernel32 during initialization.
  5. //
  6. typedef struct _CDIS {
  7. IN DWORD cdis_Thread0Handle;
  8. IN DWORD cdis_Process0Handle;
  9. IN DWORD cdis_Context0Handle;
  10. OUT DWORD cdis_R0ThreadHandle;
  11. #ifndef WOW
  12. OUT DWORD cdis_pCurrentThreadInfo;
  13. #endif // ndef WOW
  14. IN DWORD cdis_pK16CurTask;
  15. IN DWORD cdis_init_pfnMakePrivate;
  16. OUT USHORT cdis_Dos386PSPSel;
  17. OUT USHORT cdis_Dos386PSPSeg;
  18. IN USHORT cdis_FlatCodeSelector;
  19. IN USHORT cdis_FlatDataSelector;
  20. IN DWORD cdis_TerminationHandler;
  21. IN PVOID cdis_Win16Lock;
  22. IN PVOID cdis_Krn32Lock;
  23. IN PVOID cdis_pcrstGHeap16;
  24. IN PVOID cdis_pcrstSync;
  25. IN PVOID cdis_ppmutxSysLst;
  26. IN PVOID cdis_ppcrstSysLst;
  27. IN PULONG cdis_pulRITEventPending;
  28. OUT DWORD cdis_IFSMgrConvTablePtr;// ptr to Unicode/Ansi conv table
  29. IN PVOID cdis_pcscr16; // ptr to 16 bit crit sect code ranges
  30. IN PVOID cdis_pcscr32; // ptr to 32 bit crit sect code ranges
  31. #ifndef WOW
  32. OUT PVOID cdis_lpSysVMHighLinear; // high linear mapping
  33. #endif // ndef WOW
  34. IN DWORD cdis_TimerApcHandler;
  35. OUT DWORD cdis_NoGangLoad; // is gang-loading disabled ?
  36. IN DWORD cdis_dwIdObsfucator;
  37. #ifdef DEBUG
  38. IN DWORD cdis_pSuspendCheckLocks;
  39. #endif
  40. #ifdef DBCS
  41. IN DWORD cdis_DBCSLeadByteTable;
  42. #endif
  43. #ifdef WOW
  44. // IN VOID (*cdis_BopUnsimulate)(VOID);
  45. IN PVOID cdis_pK16CurDOSPsp; // Linear pointer to storage in K16 for curr PSP SEL
  46. IN PVOID cdis_pDOSCurDOSPsp; // Linear pointer to storage in V86 DOS for curr PSP SEG
  47. IN PDWORD cdis_pdwMEOWFlags; // Linear pointer to storage in kernel32 for MEOW Flags
  48. IN MTE ***cdis_pppmteModTable; // Linear pointer to storage in kernel32 for ppmteModTable;
  49. #endif
  50. } CDIS, *PCDIS;