日期:2009-10-14
分类:General
函数:
ImagehlpApiVersion: 返回系统安装的DbgHelp库的版本号,
ImagehlpApiVersionEx:用来指定创建程序时刻使用的版本号
结构:
API_VERSION:库的版本信息,包括4个版本数据,用于上面的Version函数
――――――――下面是代码和注释――――――――――――――――――――
LPAPI_VERSION pVer = NULL;
pVer = ImagehlpApiVersion();
pVer->Revision = 4;
pVer = ImagehlpApiVersionEx(pVer);
――――――――下面是一些其他记录―――――――――――――――――――
这是我机器的文件,但貌似不一致
不知道这个显示是怎么匹配的
也许下面的话有说明,可是我看不懂。。。
Remarks
Use the ImagehlpApiVersionEx function to indicate the version of the library with which the application was built. The library uses this information to ensure compatibility. For example, consider walking through kernel-mode callback stack frames (starting with Windows NT 4.0, User and GDI exist in kernel mode). If you call ImagehlpApiVersionEx to set the Revision member to version 4 or later, the StackWalk64 function will continue through a callback stack frame. Otherwise, if you set Revision to a version earlier than 4, StackWalk64 will stop at the kernel transition.