c# - 我怎样才能知道EntryPoint中指定的Ordinals符号代表的函数

标签 c# winapi dllimport

所有,如标题所示,如果我的代码如下所示。

[DllImport("twain_32.dll", EntryPoint="#1")]
private static extern TwRC DSixfer( [In, Out] TwIdentity origin, [In] TwIdentity dest, TwDG dg, TwDAT dat, TwMSG msg, ref IntPtr hbitmap );

我怎样才能知道这个函数到底做什么 #number代表?有没有什么工具可以查看如下功能列表?

#1 Afunction(...)
#2 Bfunction(...)
#3 Afunction(...)
...
#n Bfunction(...)

谢谢。

最佳答案

我想到了两个工具:

  1. Dependency Walker .
  2. dumpbin来自 MS 工具集。

关于c# - 我怎样才能知道EntryPoint中指定的Ordinals符号代表的函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18869217/

相关文章:

C# 对字符串数字进行加/减

c# - 在 lpServiceStartName 中显式指定本地域时调用 CreateService 出错

c++ - 识别访问互联网的进程

c++ - 找到关联的dll文件到__declspec(dllexport)

c# - 如何将类从 C++ 代码返回到 C#

c# - 有没有办法以编程方式使控制台窗口在任务栏中闪烁

c# - ASP.NET 使用 jQuery AJAX 调用 WebMethod "401 (Unauthorized)"

python - 如何在Python中更改光标图像

c++ - 内联和 dlimport/dllexport

c# - 如何在有 3 个选项时使用 c# 或 imagemagick 确定文档的背景颜色