登录
首页 » Windows开发 » thunk是一组动态生成的ASM指令,它记录了窗口类对象的this指针,并且这组指令可以当作函数,既也可以是窗口过程来使用。thunk先把窗口对象this指针记...

thunk是一组动态生成的ASM指令,它记录了窗口类对象的this指针,并且这组指令可以当作函数,既也可以是窗口过程来使用。thunk先把窗口对象this指针记...

于 2022-08-09 发布 文件大小:6.42 kB
0 158
下载积分: 2 下载次数: 1

代码说明:

thunk是一组动态生成的ASM指令,它记录了窗口类对象的this指针,并且这组指令可以当作函数,既也可以是窗口过程来使用。thunk先把窗口对象this指针记录下来,然后转向到静态stdProc回调函数,转向之前先记录HWND,然后把堆栈里HWND的内容替换为this指针,这样在stdProc里就可以从HWND取回对象指针,定位到WindowProc了-thunk is a group of dynamically generated ASM command, it records the window class object this pointer, and this group of commands can be used as a function of both the process can also be a window to use. thunk first window object this pointer record, and then shifted to the static callback function stdProc, before turning record HWND, and then the contents of the stack where HWND replace this pointer, so in stdProc can retrieve the object from the HWND pointer, locate the WindowProc

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • PopCap Games Framework Version 1.3 Changes General * Removed support...
    popcapframework1.3版,这是著名的PopCap游戏公司,不知道的话,祖玛应该知道吧,这些游戏都是用这个框架开发的,现在PopCap将它开源了!-PopCap Games Framework Version 1.3 Changes General * Removed support for Visual Studio/Visual C++ 6. If you use these versions, you will need to update your project files manually. o Note: you can download Visual Studio 2005 Express edition for free from Microsoft (http://msdn.microsoft.com/vstudio/express/) * PAKfile support- See docs/Pak Resource File Support.doc * Added support for wide displays and for windowed emulation of wide displays. * Some wide string/localization related changes to strings/chars: Use the WideString.vcproj projects for widestring support * Added support to draw anti-aliased lines/polygons. * Cached WAV files are "encrypted" (weakly) to prevent the easy copying of sound resources. * All demos were made to be widestring compatible and we added corresponding widestring projects. std::string has been replaced with SexyString, c
    2023-04-24 21:25:04下载
    积分:1
  • Student Test System (C/S), SQLserver server
    学生考试系统(C/S),SQLserver服务器-Student Test System (C/S), SQLserver server
    2022-08-13 08:58:59下载
    积分:1
  • 队列默认的传递模式是持久的,它不会被删除,它将队列D。
    如果你得队列Default Delivery Mode是持久,它是不会被取出的,可以将队列Default Delivery Mode为非持久,在Monitor察看Messages Received 、Messages Pending、Messages ,如果还没有动静,察看程序相应queue等是否正确-Cohort Default Delivery Mode is durable, it will not be removed, it will queue Default Delivery Mode non-durable and look at Monitor Received Messages, Messages Pending, Messages, if it is not idle and see the corresponding procedures, such as whether the correct queue
    2022-02-05 20:31:41下载
    积分:1
  • SBC2410V6BSP_tft640x480
    SBC2410V6BSP_tft640x480 -SBC2410V6BSP_tft640x480
    2022-08-12 08:57:31下载
    积分:1
  • 我最近的练习的C++作业,小程序,各位多多关照。
    我最近的练习的C++作业,小程序,各位多多关照。-my recent practice of C operations, small program to take care of you.
    2022-03-15 05:30:54下载
    积分:1
  • 画图软件,可以实现绘制各种图形,并且可以对图形进行修饰
    画图软件,可以实现绘制各种图形,并且可以对图形进行修饰-Drawing software, can realize a variety of graphics rendering, and graphics can be modified
    2022-01-23 10:03:41下载
    积分:1
  • C语言编写的时钟源程序(上机通过的),可以显示时钟,而且有不同的显示方式,既能按机械表行走,又能按电子表显示时间和日期...
    C语言编写的时钟源程序(上机通过的),可以显示时钟,而且有不同的显示方式,既能按机械表行走,又能按电子表显示时间和日期-C language clock source (on the plane), it shows the clock, but there are different methods, both by mechanical table walking, but also by electronic table shows the time and date! !
    2022-04-26 11:24:33下载
    积分:1
  • windows inside a player 4
    一个windows里面的播放器4-windows inside a player 4
    2022-03-26 01:50:00下载
    积分:1
  • An article of MSDN
    一篇基于IP-UDP协议的MSDN-A sock程序的文章。
    2022-05-27 12:58:19下载
    积分:1
  • C++ Editor V1.9,很好用的C++编程调试工具!
    C++ Editor V1.9,很好用的C++编程调试工具!-C Editor V1.9 good use of C programming debugging tools!
    2022-01-23 10:30:19下载
    积分:1
  • 696516资源总数
  • 106605会员总数
  • 12今日下载