From e562453dae3fabf3387035b155b14fd908486778 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 10 Mar 1999 14:06:53 +0000 Subject: [PATCH] Added USER.DestroyIcon32 to Callout struct. --- if1632/thunk.c | 1 + if1632/user.spec | 2 +- include/callback.h | 1 + misc/callback.c | 4 +++- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/if1632/thunk.c b/if1632/thunk.c index d275ab0944b..4a05d1ed86a 100644 --- a/if1632/thunk.c +++ b/if1632/thunk.c @@ -901,6 +901,7 @@ void THUNK_InitCallout(void) GETADDR( RedrawWindow16, "RedrawWindow", word_wlww ); GETADDR( InitThreadInput16, "InitThreadInput", word_ww ); GETADDR( UserYield16, "UserYield", word_ ); + GETADDR( DestroyIcon32, "DestroyIcon32", word_ww ); #undef GETADDR } diff --git a/if1632/user.spec b/if1632/user.spec index 886f5eaa4ef..4a5c761d5a2 100644 --- a/if1632/user.spec +++ b/if1632/user.spec @@ -488,7 +488,7 @@ file user.exe 606 pascal FormatMessage(long ptr word word ptr word ptr) FormatMessage16 608 pascal16 GetForegroundWindow() GetForegroundWindow16 609 pascal16 SetForegroundWindow(word) SetForegroundWindow16 -610 stub DestroyIcon32 +610 pascal16 DestroyIcon32(word word) CURSORICON_Destroy 620 stub ChangeDisplaySettings 621 stub EnumDisplaySettings 640 stub MsgWaitForMultipleObjects diff --git a/include/callback.h b/include/callback.h index 64e925cf5b3..08556954187 100644 --- a/include/callback.h +++ b/include/callback.h @@ -123,6 +123,7 @@ typedef struct HQUEUE16 WINAPI (*InitThreadInput16)( WORD unknown, WORD flags ); void WINAPI (*UserYield16)( void ); + WORD WINAPI (*DestroyIcon32)( HGLOBAL16 handle, UINT16 flags ); } CALLOUT_TABLE; diff --git a/misc/callback.c b/misc/callback.c index 0d14dd0dfce..bd882482d07 100644 --- a/misc/callback.c +++ b/misc/callback.c @@ -9,6 +9,7 @@ #include "callback.h" #include "task.h" #include "syslevel.h" +#include "cursoricon.h" #include "queue.h" #include "debug.h" @@ -308,6 +309,7 @@ CALLOUT_TABLE Callout = DispatchMessage16, DispatchMessageA, DispatchMessageW, RedrawWindow16, RedrawWindow, InitThreadInput16, - UserYield16 + UserYield16, + CURSORICON_Destroy };