Returns the current directory, if the current thread is a Win32 thread.
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.