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.

46 lines
1.2 KiB

  1. /*================================================================
  2. Structure used to hold the data that CONFIG will need from the PIF
  3. file. This is gleaned from both the main data block and from the
  4. file extensions for Windows 286 and 386.
  5. ================================================================*/
  6. /* WARNING !!!!!!
  7. This structure is copied from NT_PIF.H in insiginia
  8. hsot\inc\nt_pif.h. Make sure you keep them synchronized
  9. when you make changes.
  10. */
  11. #pragma pack()
  12. typedef struct
  13. {
  14. char *WinTitle; /* caption text(Max. 30 chars) + NULL */
  15. char *CmdLine; /* command line (max 63 hars) + NULL */
  16. char *StartDir; /* program file name (max 63 chars + NULL */
  17. char *StartFile;
  18. WORD fullorwin;
  19. WORD graphicsortext;
  20. WORD memreq;
  21. WORD memdes;
  22. WORD emsreq;
  23. WORD emsdes;
  24. WORD xmsreq;
  25. WORD xmsdes;
  26. char menuclose;
  27. char reskey;
  28. WORD ShortMod;
  29. WORD ShortScan;
  30. char idledetect;
  31. char fgprio;
  32. char CloseOnExit;
  33. char AppHasPIFFile;
  34. char IgnoreTitleInPIF;
  35. char IgnoreStartDirInPIF;
  36. char IgnoreShortKeyInPIF;
  37. char IgnoreCmdLineInPIF;
  38. char IgnoreConfigAutoexec;
  39. char SubSysId;
  40. } PIF_DATA;
  41. extern PIF_DATA pfdata;
  42. BOOL GetPIFData(PIF_DATA *, char *);