LPARAM&WPARAM' History
来源:互联网 发布:淘宝女装店经营 编辑:程序博客网 时间:2024/05/21 14:49
the third and fourth parameters to WndProc are defined as WPARAM and LPARAM, respectively. The origin of these names requires a bit of history. When Windows was a 16-bit system, the third parameter to WndProc was defined as a WORD, which was a 16-bit unsigned short integer, and the fourth parameter was defined as a LONG, which was a 32-bit signed long integer. That's the reason for the "W" and "L" prefixes on the word "PARAM." In the 32-bit versions of Windows, however, WPARAM is defined as a UINT and LPARAM is defined as a LONG (which is still the C long data type), so both parameters to the window procedure are 32-bit values. This may be a little confusing because the WORD data type is still defined as a 16-bit unsigned short integer in Windows 98, so the "W" prefix to "PARAM" creates somewhat of a misnomer.
- LPARAM&WPARAM' History
- WPARAM wParam, LPARAM lParam
- tagMSG 与 (WPARAM wParam,LPARAM lParam)
- wParam 和 lParam
- wParam和lParam
- (转载)WPARAM与LPARAM
- WPARAM 与 LPARAM
- SendMessage WPARAM LPARAM
- WPARAM 与 LPARAM
- WPARAM 和 LPARAM
- WPARAM 和 LPARAM
- wParam和lParam消息
- UINT, WPARAM, LPARAM
- wParam和lParam消息
- wParam和lParam消息
- wParam和lParam消息
- lParam 和 wParam
- wParam和lParam参数
- 反射的学习
- C++完整学校在册人员类应用实例。
- 经典的人生总结!
- 删不掉的旧网卡解决方法
- float的内存分布情况
- LPARAM&WPARAM' History
- 为对话框中加入工具栏
- foreach与hashtable
- 快速学习正则表达式
- TOCMAT的web.xml详解
- 深入浅出Java堆的管理--垃圾回收
- 恋爱自由
- 程序员修炼之道 读书笔记 2
- 编写firefox 扩展的文章