there is a GetWindowModuleFilename API in NT 4