forked from KolibriOS/kolibrios
Save of registers after an entrance in function is added: SendMessage (), DestroyControl ().
git-svn-id: svn://kolibrios.org@710 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ebeed28881
commit
039660a246
@ -95,7 +95,15 @@ align 4
|
|||||||
|
|
||||||
destroy_control:
|
destroy_control:
|
||||||
|
|
||||||
mov eax,[esp+4]
|
push eax
|
||||||
|
push ebx
|
||||||
|
push ecx
|
||||||
|
push edx
|
||||||
|
push esi
|
||||||
|
push edi
|
||||||
|
push ebp
|
||||||
|
|
||||||
|
mov eax,[esp+28+4]
|
||||||
|
|
||||||
mov ebx,[eax+20] ;get parend for control
|
mov ebx,[eax+20] ;get parend for control
|
||||||
|
|
||||||
@ -224,6 +232,14 @@ destroy_control:
|
|||||||
;*******************************************************************
|
;*******************************************************************
|
||||||
exit_destroy_control:
|
exit_destroy_control:
|
||||||
|
|
||||||
|
pop ebp
|
||||||
|
pop edi
|
||||||
|
pop esi
|
||||||
|
pop edx
|
||||||
|
pop ecx
|
||||||
|
pop ebx
|
||||||
|
pop eax
|
||||||
|
|
||||||
ret 4
|
ret 4
|
||||||
|
|
||||||
;***********************************************************
|
;***********************************************************
|
||||||
@ -239,12 +255,20 @@ align 4
|
|||||||
|
|
||||||
send_message:
|
send_message:
|
||||||
|
|
||||||
|
push eax
|
||||||
|
push ebx
|
||||||
|
push ecx
|
||||||
|
push edx
|
||||||
|
push esi
|
||||||
|
push edi
|
||||||
|
push ebp
|
||||||
|
|
||||||
;get pointer to parend
|
;get pointer to parend
|
||||||
mov eax,[esp+4]
|
mov eax,[esp+28+4]
|
||||||
mov [Parend],eax
|
mov [Parend],eax
|
||||||
|
|
||||||
;get message
|
;get message
|
||||||
mov esi,[esp+8]
|
mov esi,[esp+28+8]
|
||||||
mov edi,dword Message
|
mov edi,dword Message
|
||||||
mov ecx,4
|
mov ecx,4
|
||||||
rep movsd
|
rep movsd
|
||||||
@ -438,6 +462,14 @@ send_message:
|
|||||||
|
|
||||||
exit_check_event_type:
|
exit_check_event_type:
|
||||||
|
|
||||||
|
pop ebp
|
||||||
|
pop edi
|
||||||
|
pop esi
|
||||||
|
pop edx
|
||||||
|
pop ecx
|
||||||
|
pop ebx
|
||||||
|
pop eax
|
||||||
|
|
||||||
ret 8
|
ret 8
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,6 +11,6 @@ align 4
|
|||||||
get_version:
|
get_version:
|
||||||
|
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov eax,dword 080131 ;31.01.08
|
mov eax,dword 080204 ;4.02.08
|
||||||
|
|
||||||
ret
|
ret
|
@ -1,3 +1,10 @@
|
|||||||
|
4.02.08
|
||||||
|
RUSSIAN
|
||||||
|
Äîáàâëåíî ñîõðàíåíèå ðåãèñòðîâ ïîñëå âõîäà â ôóíêöèè: SendMessage() , DestroyControl().
|
||||||
|
|
||||||
|
ENGLISH
|
||||||
|
Save of registers after an entrance in function is added: SendMessage (), DestroyControl ().
|
||||||
|
|
||||||
31.01.08
|
31.01.08
|
||||||
RUSSIAN
|
RUSSIAN
|
||||||
Добавлено сохранение регистров после входа в функции libGUI.
|
Добавлено сохранение регистров после входа в функции libGUI.
|
||||||
|
Loading…
Reference in New Issue
Block a user