summaryrefslogtreecommitdiffstats
path: root/private/mvdm/dos/command/cmdpif.h
diff options
context:
space:
mode:
Diffstat (limited to 'private/mvdm/dos/command/cmdpif.h')
-rw-r--r--private/mvdm/dos/command/cmdpif.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/private/mvdm/dos/command/cmdpif.h b/private/mvdm/dos/command/cmdpif.h
new file mode 100644
index 000000000..bb264236f
--- /dev/null
+++ b/private/mvdm/dos/command/cmdpif.h
@@ -0,0 +1,46 @@
+
+/*================================================================
+Structure used to hold the data that CONFIG will need from the PIF
+file. This is gleaned from both the main data block and from the
+file extensions for Windows 286 and 386.
+================================================================*/
+
+
+/* WARNING !!!!!!
+ This structure is copied from NT_PIF.H in insiginia
+ hsot\inc\nt_pif.h. Make sure you keep them synchronized
+ when you make changes.
+*/
+#pragma pack()
+typedef struct
+ {
+ char *WinTitle; /* caption text(Max. 30 chars) + NULL */
+ char *CmdLine; /* command line (max 63 hars) + NULL */
+ char *StartDir; /* program file name (max 63 chars + NULL */
+ char *StartFile;
+ WORD fullorwin;
+ WORD graphicsortext;
+ WORD memreq;
+ WORD memdes;
+ WORD emsreq;
+ WORD emsdes;
+ WORD xmsreq;
+ WORD xmsdes;
+ char menuclose;
+ char reskey;
+ WORD ShortMod;
+ WORD ShortScan;
+ char idledetect;
+ char fgprio;
+ char CloseOnExit;
+ char AppHasPIFFile;
+ char IgnoreTitleInPIF;
+ char IgnoreStartDirInPIF;
+ char IgnoreShortKeyInPIF;
+ char IgnoreCmdLineInPIF;
+ char IgnoreConfigAutoexec;
+ char SubSysId;
+ } PIF_DATA;
+
+extern PIF_DATA pfdata;
+BOOL GetPIFData(PIF_DATA *, char *);