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.

59 lines
1.4 KiB

  1. /*++ BUILD Version: 0002
  2. *
  3. * WOW v1.0
  4. *
  5. * Copyright (c) 1991, Microsoft Corporation
  6. *
  7. * WOWINFO.H
  8. * 16-bit Kernel API argument structures
  9. *
  10. * History:
  11. * Created 1-jun-1992 by Matt Felton (mattfe)
  12. --*/
  13. // the following UNALIGNED definition is required because wowinfo.h is
  14. // included in 'wowexec.c'
  15. //
  16. // these lines are from ntdef.h
  17. //
  18. #ifndef UNALIGNED
  19. #if defined(MIPS) || defined(_ALPHA_) // winnt
  20. #define UNALIGNED __unaligned // winnt
  21. #else // winnt
  22. #define UNALIGNED // winnt
  23. #endif // winnt
  24. #endif
  25. /* XLATOFF */
  26. #pragma pack(2)
  27. /* XLATON */
  28. typedef struct _WOWINFO { /**/
  29. LPSTR lpCmdLine;
  30. LPSTR lpAppName;
  31. LPSTR lpEnv;
  32. DWORD iTask;
  33. USHORT CmdLineSize;
  34. USHORT AppNameSize;
  35. USHORT EnvSize;
  36. USHORT CurDrive;
  37. LPSTR lpCurDir;
  38. USHORT CurDirSize;
  39. USHORT wShowWindow;
  40. } WOWINFO;
  41. typedef WOWINFO UNALIGNED *PWOWINFO;
  42. #define MAXENVIRONMENTSIZE 2048 // Max Size of Environment coped with.
  43. /* XLATOFF */
  44. #pragma pack()
  45. /* XLATON */
  46. #define WM_WOWEXECSTARTAPP (WM_USER) // also in windows\inc\vdmapi.h
  47. #define WM_WOWEXECHEARTBEAT (WM_USER+1) // To deliver timer ticks
  48. #define WM_WOWEXEC_START_TASK (WM_USER+2) // vdmdbg.dll sends this
  49. #define WM_WOWEXECSTARTTIMER (WM_USER+3) // see WK32WowShutdownTimer