ReleaseCapture() is supposed to return a BOOL value.

This commit is contained in:
Zygo Blaxell 1999-04-15 16:40:16 +00:00 committed by Alexandre Julliard
parent f31ec0b08a
commit 007f1335c1
2 changed files with 3 additions and 3 deletions

View File

@ -2825,7 +2825,7 @@ LONG WINAPI GetMessageTime(void);
DWORD WINAPI GetTickCount(void);
ATOM WINAPI GlobalDeleteAtom(ATOM);
DWORD WINAPI OemKeyScan(WORD);
VOID WINAPI ReleaseCapture(void);
BOOL WINAPI ReleaseCapture(void);
VOID WINAPI SetKeyboardState(LPBYTE);
VOID WINAPI WaitMessage(VOID);

View File

@ -371,9 +371,9 @@ HWND WINAPI SetCapture( HWND hwnd )
/**********************************************************************
* ReleaseCapture (USER.19) (USER32.439)
*/
void WINAPI ReleaseCapture(void)
BOOL WINAPI ReleaseCapture(void)
{
EVENT_Capture( 0, 0 );
return (EVENT_Capture( 0, 0 ) != 0);
}