Has anyone written any code to pull the function names and their parameters from a DLL?

Any help would be of great assistance