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.

57 lines
1.6 KiB

  1. #ifndef DOS // Gross hack to account for the
  2. #ifndef OS2_16 // fact that C_DEFINES in "sources" isn't
  3. #ifndef OS2_32 // passed to the resource compiler when building
  4. #ifndef WIN_16 // for MIPS. Since MIPS is a WIN_32 build,
  5. #ifndef WIN_32 // I try to innocuously define WIN_32 here... -JTP
  6. #define WIN_32
  7. #endif
  8. #endif
  9. #endif
  10. #endif
  11. #endif
  12. #define _NTIMAGE_ // This will force ntimage not to include nt.h
  13. #define _NTXCAPI_ // forces ntxcapi.h unincluded
  14. #include "i386\x86.h"
  15. VDMIcon ICON vdm.ico
  16. SoftPC MENU
  17. BEGIN
  18. POPUP "&Help"
  19. BEGIN
  20. MENUITEM "&DebugBreak", IDM_DBBRK
  21. MENUITEM "&About NT VDM...", IDM_ABOUT
  22. END
  23. END
  24. VDMAbout DIALOG 22, 17, 131, 83
  25. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  26. CAPTION "About NT VDM"
  27. BEGIN
  28. CTEXT "NT VDMs are " -1, 32, 5, 65, 12
  29. CTEXT "Brought to you by the NTVDM Team" -1, 0, 19, 131, 10
  30. CTEXT "Some code adapted from:" -1, 0, 27, 131, 9
  31. CTEXT "x86 emulator v0.17" -1, 0, 38, 131, 8
  32. CTEXT "by Jeff Parsons, (C) 1991" -1, 0, 45, 131, 8
  33. CONTROL "Text", -1, "static", SS_BLACKFRAME | WS_CHILD, 17, 36, 99, 27
  34. DEFPUSHBUTTON "OK" IDOK, 51, 66, 32, 14, WS_GROUP
  35. END
  36. #ifdef WOW
  37. WOW32About DIALOG 22, 17, 144, 55
  38. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  39. CAPTION "About WOW"
  40. BEGIN
  41. CTEXT "Just say WOW!" -1, 0, 5, 144, 8
  42. CTEXT "This Win16-on-Win32 app" -1, 0, 18, 144, 8
  43. CTEXT "brought to you by the MVDM Team" -1, 0, 27, 144, 8
  44. DEFPUSHBUTTON "OK" IDOK, 32, 39, 32, 14, WS_GROUP
  45. PUSHBUTTON "Debug" 100, 80, 39, 32, 14, WS_GROUP
  46. END
  47. #endif