DosGetModName

Bindings: C, MASM

This call returns the fully qualified drive, path, file name, and extension associated with a referenced module handle.