-



              

- 3


 15  TranslateMessage/DispatchMessage

DispatchMessage , ,  3.16.:

 3.16. 

.text:00401050 mov edi, ds:GetMessageA

.text:00401050 ; GetMessageA ( , )

.text:00401050

.text:00401056 push 0 ; wMsgFilterMax

.text:00401058 push 0 ; wMsgFilterMin

.text:0040105A lea ecx, [esp+2Ch+Msg]

.text:0040105A ; ECX , GetMessageA

.text:0040105A ; . ESP

.text:0040105A ; , ,

.text:0040105A ; (. , ESP

.text:0040105A ; , "")

.text:0040105A ;

.text:0040105E push 0 ; hWnd

.text:00401060 push ecx ; lpMsg

.text:00401061 mov esi, eax

.text:00401063 call edi ; GetMessageA

.text:00401063 ; GetMessageA

.text:00401063

.text:00401065 test eax, eax

.text:00401067 jz short loc_4010AD

.text:00401067 ;

.text:00401067

.text:00401077 loc_401077: ; CODE XREF: _WinMain@16+A9vj

.text:00401077 ;

.text:00401077

.text:00401077 mov eax, [esp+2Ch+Msg.hwnd]

.text:0040107B lea edx, [esp+2Ch+Msg]