diff --git a/include/cursoricon.h b/include/cursoricon.h index b594df4d34..9f394dd510 100644 --- a/include/cursoricon.h +++ b/include/cursoricon.h @@ -82,7 +82,7 @@ extern HGLOBAL CURSORICON_Load( HINSTANCE hInstance, LPCWSTR name, int width, int height, int colors, BOOL fCursor, UINT loadflags); -extern WORD CURSORICON_Destroy( HGLOBAL16 handle, UINT16 flags ); +extern WORD WINAPI CURSORICON_Destroy( HGLOBAL16 handle, UINT16 flags ); extern void CURSORICON_FreeModuleIcons( HMODULE hModule ); diff --git a/objects/cursoricon.c b/objects/cursoricon.c index fc787f32d3..a9d21d66a8 100644 --- a/objects/cursoricon.c +++ b/objects/cursoricon.c @@ -1042,7 +1042,7 @@ HCURSOR16 WINAPI CopyCursor16( HINSTANCE16 hInstance, HCURSOR16 hCursor ) * the Win95 one exactly, especially the return values, which * depend on the setting of various flags. */ -WORD CURSORICON_Destroy( HGLOBAL16 handle, UINT16 flags ) +WORD WINAPI CURSORICON_Destroy( HGLOBAL16 handle, UINT16 flags ) { WORD retv;