查看DLL的导出表想来没问题吧.
用SDK里的Depends.exe就可以或者Dumpbin /exports 文件名也可以实现.
取到导出函数后, 就可以用SDK里的undname.exe来再现函数的本来面貌了, 所谓本来面貌是指函数的返回类型, 所需参数等等信息.(注意, 要加参数 -f , 否则将只显示函数的所在类和函数名)
实例:
D:\MyProj\Two\Bin>dumpbin /exports twotst.dll
Microsoft (R) COFF Binary File Dumper Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
Dump of file twotst.dll
File Type: DLL
Section contains the following exports for TwoTst.dll
0 characteristics
424775A1 time date stamp Mon Mar 28 11:10:25 2005
0.00 version
1 ordinal base
1 number of functions
1 number of names
ordinal hint RVA name
1 0 00001060 ?TestA@@YAHH@Z
Summary
5000 .data
1000 .rdata
1000 .reloc
6000 .text
D:\MyProj\Two\Bin>undname -f ?TestA@@YAHH@Z
Microsoft(R) Windows NT(R) Operating System
UNDNAME Version 5.00.1768.1Copyright (C) Microsoft Corp. 1981-1998