Does anyone know if Microsoft ever published the source code to depends or if there are any samples out there on how to walk the dependency list for a EXE/DLL?

Sam