DosQCurDir

Bindings: C, MASM

This call returns the full path name of the current directory for the requesting process for the specified drive.