user32: Added stubs for ShutdownBlockReasonCreate/ShutdownBlockReasonDestroy.

This commit is contained in:
Nikolay Sivov 2015-06-26 21:35:28 +03:00 committed by Alexandre Julliard
parent 4bcb4881ae
commit 48246a149e
3 changed files with 24 additions and 0 deletions

View file

@ -697,6 +697,8 @@
@ stub ShowStartGlass
@ stdcall ShowWindow(long long)
@ stdcall ShowWindowAsync(long long)
@ stdcall ShutdownBlockReasonCreate(long wstr)
@ stdcall ShutdownBlockReasonDestroy(long)
# @ stub SoftModalMessageBox
@ stdcall SubtractRect(ptr ptr ptr)
@ stdcall SwapMouseButton(long)

View file

@ -409,3 +409,23 @@ int WINAPI RegisterServicesProcess(DWORD ServicesProcessId)
FIXME("(0x%x): stub\n", ServicesProcessId);
return 0;
}
/***********************************************************************
* ShutdownBlockReasonCreate (USER32.@)
*/
BOOL WINAPI ShutdownBlockReasonCreate(HWND hwnd, LPCWSTR reason)
{
FIXME("(%p, %s): stub\n", hwnd, debugstr_w(reason));
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}
/***********************************************************************
* ShutdownBlockReasonDestroy (USER32.@)
*/
BOOL WINAPI ShutdownBlockReasonDestroy(HWND hwnd)
{
FIXME("(%p): stub\n", hwnd);
SetLastError( ERROR_CALL_NOT_IMPLEMENTED );
return FALSE;
}

View file

@ -3992,6 +3992,8 @@ WINUSERAPI BOOL WINAPI ShowScrollBar(HWND,INT,BOOL);
WINUSERAPI BOOL WINAPI ShowOwnedPopups(HWND,BOOL);
WINUSERAPI BOOL WINAPI ShowWindow(HWND,INT);
WINUSERAPI BOOL WINAPI ShowWindowAsync(HWND,INT);
WINUSERAPI BOOL WINAPI ShutdownBlockReasonCreate(HWND,LPCWSTR);
WINUSERAPI BOOL WINAPI ShutdownBlockReasonDestroy(HWND);
WINUSERAPI BOOL WINAPI SubtractRect(LPRECT,const RECT*,const RECT*);
WINUSERAPI BOOL WINAPI SwapMouseButton(BOOL);
WINUSERAPI BOOL WINAPI SwitchDesktop(HDESK);