阅读:1028回复:1
如何调用KeI386AllocateGdtSelectors()?
我想在我的SYS驱动中调用KeI386AllocateGdtSelectors(),可我不知道该连接哪个库,我NTOSKRNL.LIB库
中有见到这个函数,可编译时老是报告没有发现KeI386AllocateGdtSelectors()。诸位知道如何调用 KeI386AllocateGdtSelectors()吗?关键是要连接哪个库,使程序编译成功。 |
|
沙发#
发布于: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); |
|
|