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:
andrew_programmer 2008-02-04 21:00:31 +00:00
parent ebeed28881
commit 039660a246
3 changed files with 43 additions and 4 deletions

View File

@ -95,7 +95,15 @@ align 4
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
@ -224,6 +232,14 @@ destroy_control:
;*******************************************************************
exit_destroy_control:
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
ret 4
;***********************************************************
@ -239,12 +255,20 @@ align 4
send_message:
push eax
push ebx
push ecx
push edx
push esi
push edi
push ebp
;get pointer to parend
mov eax,[esp+4]
mov eax,[esp+28+4]
mov [Parend],eax
;get message
mov esi,[esp+8]
mov esi,[esp+28+8]
mov edi,dword Message
mov ecx,4
rep movsd
@ -438,6 +462,14 @@ send_message:
exit_check_event_type:
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
ret 8

View File

@ -11,6 +11,6 @@ align 4
get_version:
xor eax,eax
mov eax,dword 080131 ;31.01.08
mov eax,dword 080204 ;4.02.08
ret

View File

@ -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
RUSSIAN
Добавлено сохранение регистров после входа в функции libGUI.