【问题标题】:Is there any way to call the Windows Native API functions from the user mode?有没有办法从用户模式调用 Windows Native API 函数?
【发布时间】:2011-07-27 12:46:03
【问题描述】:

我想用 C++ 从用户模式调用一些 Native API 函数。 我想知道是否可以绕过 Windows API 接口 完全,直接从用户态调用Native API函数。

如果可能的话,任何代码示例都会很有帮助。

【问题讨论】:

    标签: c++ windows winapi nt-native-api


    【解决方案1】:

    是的,这是可能的,因为所有功能都公开了ntdll.dll。但是,您需要为要使用的那些 API 函数编写自己的头文件。没有关于 NT API 的官方文档,也不是真的要直接使用。但这是可能的。

    Here 是一个起点。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2018-06-08
      • 1970-01-01
      • 2011-03-05
      • 2011-04-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多