Commit 48246a14 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

user32: Added stubs for ShutdownBlockReasonCreate/ShutdownBlockReasonDestroy.

parent 4bcb4881
......@@ -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)
......
......@@ -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;
}
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment