|
|
|
|
|
[求助]真奇怪我的ImageDirectoryEntryToData为何不执行?
就是奇怪我已经用了啊 #include <imagehlp.h> #pragma comment(lib,"imagehlp") 不用这个函数怎么定位呢? |
|
|
|
[求助]为什么用Win32的DLL就总是“句柄无效”而MFC的DLL却成功呢?
DLL就是用VC6向导新建的 楼上看清楚我写的东西啊>_< 今天没办法 把自己写的DLL从WIN32全部搬到MFC了 现在没问题了 不过为什么这样还是不知道 PS:目前的问题是木有HOOK到 |
|
|
|
|
|
[求助]新人请教一下SYSTEM_INFORMATION_CLASS的取值问题
下面是我的代码,该定义的结构体都已经定义,这里就不写出了。EXE文件可以运行(一个MFC的对话框程序),但是ZwQuerySystemInformation()总是调用失败。 请哪位大虾指教一下? enum SYSTEM_INFORMATION_CLASS {SystemHandleInformation=16}; typedef NTSTATUS(NTAPI *ZW_QUERY_SYSTEM_INFORMATION) (IN SYSTEM_INFORMATION_CLASS SystemInformationClass, IN OUT PVOID SystemInformation, IN ULONG SystemInformationLength, OUT PULONG ReturnLength); HMODULE hModule=GetModuleHandle("ntdll.dll"); if(hModule==NULL) { AfxMessageBox("GetModuleHandle Failed!",MB_OK); return; } ZW_QUERY_SYSTEM_INFORMATION zqsi; zqsi=(ZW_QUERY_SYSTEM_INFORMATION)GetProcAddress(hModule,"ZwQuerySystemInformation"); if(zqsi==NULL) { AfxMessageBox("GetProcAddress Failed!",MB_OK); return; } SYSTEM_HANDLE_INFORMATION info; ULONG len=sizeof(SYSTEM_HANDLE_INFORMATION); ULONG needed=0; if(0==zqsi(SystemHandleInformation,&info,len,&needed)) { AfxMessageBox("Succeeded!",MB_OK); } |
|
[求助]新人请教一下SYSTEM_INFORMATION_CLASS的取值问题
谢谢LS 应该是从0开始一直顺着往下排吧? 很奇怪目前我只有SystemKernelDebuggerInformation时调用ZwQuerySystemInformation()才成功(返回0) 其他基本失败 我是在一个MFC的基于对话框的程序里调用ZwQuerySystemInformation(),并不是写驱动,请问是这个原因吗? |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值