Author: aandrejevic
Date: Sat Feb 1 02:49:02 2014
New Revision: 61897
URL:
http://svn.reactos.org/svn/reactos?rev=61897&view=rev
Log:
[KERNEL32]
Add the definition for the structure used by GetNextVDMCommand.
Modified:
branches/ntvdm/dll/win32/kernel32/client/vdm.c
branches/ntvdm/dll/win32/kernel32/include/vdm.h
Modified: branches/ntvdm/dll/win32/kernel32/client/vdm.c
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/dll/win32/kernel32/client…
==============================================================================
--- branches/ntvdm/dll/win32/kernel32/client/vdm.c [iso-8859-1] (original)
+++ branches/ntvdm/dll/win32/kernel32/client/vdm.c [iso-8859-1] Sat Feb 1 02:49:02 2014
@@ -774,9 +774,7 @@
*/
DWORD
WINAPI
-GetNextVDMCommand (
- DWORD Unknown0
- )
+GetNextVDMCommand(PGET_NEXT_VDM_COMMAND_DATA CommandData)
{
STUB;
return 0;
Modified: branches/ntvdm/dll/win32/kernel32/include/vdm.h
URL:
http://svn.reactos.org/svn/reactos/branches/ntvdm/dll/win32/kernel32/includ…
==============================================================================
--- branches/ntvdm/dll/win32/kernel32/include/vdm.h [iso-8859-1] (original)
+++ branches/ntvdm/dll/win32/kernel32/include/vdm.h [iso-8859-1] Sat Feb 1 02:49:02 2014
@@ -43,6 +43,38 @@
#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 ********************************************************/