Returns the current directory, if the current thread is a Win32 thread.
ESI
Address of buffer for the current directory. The buffer must be at least as large as MAX_PATH.
If the current VM is not the system VM, or if the current thread is not a 32-bit thread, the function returns an error. In this case, use the VMM service Exec_VxD_Int to call Interrupt 21h Function 47h, Get Current Directory.