[KERNEL32]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 1 Feb 2014 02:49:02 +0000 (02:49 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Sat, 1 Feb 2014 02:49:02 +0000 (02:49 +0000)
Add the definition for the structure used by GetNextVDMCommand.

svn path=/branches/ntvdm/; revision=61897

dll/win32/kernel32/client/vdm.c
dll/win32/kernel32/include/vdm.h

index 0079317..8123433 100644 (file)
@@ -774,9 +774,7 @@ ExitVDM (
  */
 DWORD
 WINAPI
  */
 DWORD
 WINAPI
-GetNextVDMCommand (
-    DWORD   Unknown0
-    )
+GetNextVDMCommand(PGET_NEXT_VDM_COMMAND_DATA CommandData)
 {
     STUB;
     return 0;
 {
     STUB;
     return 0;
index b08cfb3..49cc9a4 100644 (file)
@@ -43,6 +43,38 @@ typedef enum _VDM_ENTRY_CODE
 #define VDM_NOT_READY       0x02
 #define VDM_READY           0x04
 
 #define VDM_NOT_READY       0x02
 #define VDM_READY           0x04
 
+/* STRUCTURES *****************************************************************/
+
+typedef struct _GET_NEXT_VDM_COMMAND_DATA
+{
+    ULONG iTask;
+    ULONG dwUnused;
+    ULONG dwExitCode;
+    ULONG dwCodePage;
+    HANDLE hStdIn;
+    HANDLE hStdOut;
+    HANDLE hStdErr;
+    LPSTR lpCmdLine;
+    LPSTR lpAppName;
+    LPSTR lpPifFile;
+    LPSTR lpCurDirectory;
+    LPSTR lpEnv;
+    ULONG dwEnvLen;
+    STARTUPINFOA StartupInfo;
+    LPSTR lpDesktop;
+    ULONG dwDesktopLen;
+    LPSTR lpTitle;
+    ULONG dwTitleLen;
+    LPVOID lpReserved;
+    ULONG dwReservedLen;
+    USHORT wCmdLen;
+    USHORT wAppLen;
+    USHORT wPifLen;
+    USHORT wCurDirectoryLen;
+    USHORT wVDMState;
+    USHORT wCurrentDrive;
+    BOOLEAN fComingFromBat;
+} GET_NEXT_VDM_COMMAND_DATA, *PGET_NEXT_VDM_COMMAND_DATA;
 
 /* FUNCTION PROTOTYPES ********************************************************/
 
 
 /* FUNCTION PROTOTYPES ********************************************************/