首页
社区
课程
招聘
[旧帖] [求助]SendMessage函数返回EAX是什么 0.00雪花
发表于: 2008-12-27 12:49 3321

[旧帖] [求助]SendMessage函数返回EAX是什么 0.00雪花

2008-12-27 12:49
3321
SendMessage,hwndEdit,WM_GETTEXT,MEMSIZE-1,pMemory

这个函数返回eax是什么内容,是实际发送TEXT的长度吗?

Syntax

LRESULT SendMessage(          HWND hWnd,
    UINT Msg,
    WPARAM wParam,
    LPARAM lParam
);

Return Value

The return value specifies the result of the message processing; it depends on the message sent.

这里英文的意思是不是说返回值会根据Msg不同,顺便问类似的API函数eax返回值的问题有没有资料能查询的?我在网络上搜索基本没有这个方面的资料。

[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

收藏
免费 0
支持
分享
最新回复 (1)
雪    币: 293
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
查具体的消息就行了,可以下载看雪主页上的win32帮助,也可用MSDN查。举个例子,比如WM_GETTEXT


WM_GETTEXT

An application sends a WM_GETTEXT message to copy the text that corresponds to a window into a buffer provided by the caller.

WM_GETTEXT
wParam = (WPARAM) cchTextMax; // number of characters to copy
lParam = (LPARAM) lpszText; // address of buffer for text


Parameters

cchTextMax

Value of wParam. Specifies the maximum number of characters to be copied, including the terminating null character.

lpszText

Value of lParam. Points to the buffer that is to receive the text.



Return Values

The return value is the number of characters copied
.
2008-12-27 13:22
0
游客
登录 | 注册 方可回帖
返回
//