[KERNEL32]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Mon, 10 Feb 2014 14:26:41 +0000 (14:26 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Mon, 10 Feb 2014 14:26:41 +0000 (14:26 +0000)
SetVDMCurrentDirectories should use BasepSetVDMCurDirs, not BasepGetVDMCurDirs.

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

dll/win32/kernel32/client/vdm.c

index 4000253..9ccc1dd 100644 (file)
@@ -1267,7 +1267,7 @@ SetVDMCurrentDirectories(DWORD cchCurDirs, PCHAR lpszzCurDirs)
     /* Call CSRSS */
     CsrClientCallServer((PCSR_API_MESSAGE)&ApiMessage,
                         CaptureBuffer,
     /* Call CSRSS */
     CsrClientCallServer((PCSR_API_MESSAGE)&ApiMessage,
                         CaptureBuffer,
-                        CSR_CREATE_API_NUMBER(BASESRV_SERVERDLL_INDEX, BasepGetVDMCurDirs),
+                        CSR_CREATE_API_NUMBER(BASESRV_SERVERDLL_INDEX, BasepSetVDMCurDirs),
                         sizeof(BASE_GETSET_VDM_CURDIRS));
 
     /* Free the capture buffer */
                         sizeof(BASE_GETSET_VDM_CURDIRS));
 
     /* Free the capture buffer */