IFSMgr_Win32GetVMCurdir


IFSMgr_Win32GetVMCurdir(
 unsigned long Drive,
 char * pCurdirBuf
 )

This service is provided solely for use by the Win32 subsystem. It returns the current directory in the current VM context for a specified drive. The current directory string can have long names. It is always returned in the current OEM codepage.

Drive

Supplies the 0-based drive number of the drive whose current directory is needed.

pCurdirBuf

Supplies a pointer to the buffer to contain the current directory. This buffer should be at least MAX_PATH bytes in size.

pCurdirBuf Contains the current directory for the specified drive on a successful return. The current directory path is returned without the preceding "<drive>:\" string i.e. the current directory string for the root directory consists of the null string.