ReleaseCapture() is supposed to return a BOOL value.
This commit is contained in:
parent
f31ec0b08a
commit
007f1335c1
|
@ -2825,7 +2825,7 @@ LONG WINAPI GetMessageTime(void);
|
||||||
DWORD WINAPI GetTickCount(void);
|
DWORD WINAPI GetTickCount(void);
|
||||||
ATOM WINAPI GlobalDeleteAtom(ATOM);
|
ATOM WINAPI GlobalDeleteAtom(ATOM);
|
||||||
DWORD WINAPI OemKeyScan(WORD);
|
DWORD WINAPI OemKeyScan(WORD);
|
||||||
VOID WINAPI ReleaseCapture(void);
|
BOOL WINAPI ReleaseCapture(void);
|
||||||
VOID WINAPI SetKeyboardState(LPBYTE);
|
VOID WINAPI SetKeyboardState(LPBYTE);
|
||||||
VOID WINAPI WaitMessage(VOID);
|
VOID WINAPI WaitMessage(VOID);
|
||||||
|
|
||||||
|
|
|
@ -371,9 +371,9 @@ HWND WINAPI SetCapture( HWND hwnd )
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
* ReleaseCapture (USER.19) (USER32.439)
|
* ReleaseCapture (USER.19) (USER32.439)
|
||||||
*/
|
*/
|
||||||
void WINAPI ReleaseCapture(void)
|
BOOL WINAPI ReleaseCapture(void)
|
||||||
{
|
{
|
||||||
EVENT_Capture( 0, 0 );
|
return (EVENT_Capture( 0, 0 ) != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue