summaryrefslogtreecommitdiffstats
path: root/private/mvdm/inc/wowinfo.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/mvdm/inc/wowinfo.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/mvdm/inc/wowinfo.h')
-rw-r--r--private/mvdm/inc/wowinfo.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/private/mvdm/inc/wowinfo.h b/private/mvdm/inc/wowinfo.h
new file mode 100644
index 000000000..ba07213f9
--- /dev/null
+++ b/private/mvdm/inc/wowinfo.h
@@ -0,0 +1,58 @@
+/*++ BUILD Version: 0002
+ *
+ * WOW v1.0
+ *
+ * Copyright (c) 1991, Microsoft Corporation
+ *
+ * WOWINFO.H
+ * 16-bit Kernel API argument structures
+ *
+ * History:
+ * Created 1-jun-1992 by Matt Felton (mattfe)
+--*/
+
+// the following UNALIGNED definition is required because wowinfo.h is
+// included in 'wowexec.c'
+//
+// these lines are from ntdef.h
+//
+
+#ifndef UNALIGNED
+
+#if defined(MIPS) || defined(_ALPHA_) // winnt
+#define UNALIGNED __unaligned // winnt
+#else // winnt
+#define UNALIGNED // winnt
+#endif // winnt
+
+#endif
+
+/* XLATOFF */
+#pragma pack(2)
+/* XLATON */
+
+typedef struct _WOWINFO { /**/
+ LPSTR lpCmdLine;
+ LPSTR lpAppName;
+ LPSTR lpEnv;
+ DWORD iTask;
+ USHORT CmdLineSize;
+ USHORT AppNameSize;
+ USHORT EnvSize;
+ USHORT CurDrive;
+ LPSTR lpCurDir;
+ USHORT CurDirSize;
+ USHORT wShowWindow;
+} WOWINFO;
+typedef WOWINFO UNALIGNED *PWOWINFO;
+
+#define MAXENVIRONMENTSIZE 2048 // Max Size of Environment coped with.
+
+
+/* XLATOFF */
+#pragma pack()
+/* XLATON */
+
+#define WM_WOWEXECSTARTAPP (WM_USER) // also in windows\inc\vdmapi.h
+#define WM_WOWEXECHEARTBEAT (WM_USER+1) // To deliver timer ticks
+#define WM_WOWEXECEXITEXEC (WM_USER+2) // To help do ExitWindowsExec()