pango99
驱动牛犊
驱动牛犊
  • 注册日期2001-08-21
  • 最后登录2018-05-29
  • 粉丝0
  • 关注0
  • 积分4分
  • 威望20点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1028回复:1

如何调用KeI386AllocateGdtSelectors()?

楼主#
更多 发布于:2001-12-16 11:51
我想在我的SYS驱动中调用KeI386AllocateGdtSelectors(),可我不知道该连接哪个库,我NTOSKRNL.LIB库

中有见到这个函数,可编译时老是报告没有发现KeI386AllocateGdtSelectors()。诸位知道如何调用

KeI386AllocateGdtSelectors()吗?关键是要连接哪个库,使程序编译成功。
sunwang
驱动牛犊
驱动牛犊
  • 注册日期2001-05-09
  • 最后登录2001-12-22
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2001-12-16 12:44
//the undocument functions exported from ntoskrnl.exe,please add the prototype to your modul.
//

NTSTATUS __declspec(dllimport) KeI386AllocateGdtSelectors(
 OUT unsigned long *SelArray,
IN int NumOfSelectors);

NTSTATUS __declspec(dllimport) KeI386ReleaseGdtSelectors(
OUT unsigned long *SelArray,
IN int NumOfSelectors);
^十万就结婚^
游客

返回顶部