Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
48246a14
Commit
48246a14
authored
Jun 26, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Added stubs for ShutdownBlockReasonCreate/ShutdownBlockReasonDestroy.
parent
4bcb4881
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
user32.spec
dlls/user32/user32.spec
+2
-0
user_main.c
dlls/user32/user_main.c
+20
-0
winuser.h
include/winuser.h
+2
-0
No files found.
dlls/user32/user32.spec
View file @
48246a14
...
...
@@ -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)
...
...
dlls/user32/user_main.c
View file @
48246a14
...
...
@@ -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
;
}
include/winuser.h
View file @
48246a14
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment