Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
eae27293
Commit
eae27293
authored
Jun 07, 2022
by
Jacek Caban
Committed by
Alexandre Julliard
Jun 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Remove no longer needed helpers.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
parent
915ac1c1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
24 deletions
+2
-24
user_main.c
dlls/user32/user_main.c
+0
-18
win.c
dlls/user32/win.c
+1
-1
win.h
dlls/user32/win.h
+1
-5
No files found.
dlls/user32/user_main.c
View file @
eae27293
...
...
@@ -43,24 +43,6 @@ static DWORD exiting_thread_id;
extern
void
WDML_NotifyThreadDetach
(
void
);
/***********************************************************************
* USER_Lock
*/
void
USER_Lock
(
void
)
{
NtUserCallOneParam
(
0
,
NtUserLock
);
}
/***********************************************************************
* USER_Unlock
*/
void
USER_Unlock
(
void
)
{
NtUserCallOneParam
(
1
,
NtUserLock
);
}
/***********************************************************************
* USER_CheckNotLock
*
* Make sure that we don't hold the user lock.
...
...
dlls/user32/win.c
View file @
eae27293
...
...
@@ -54,7 +54,7 @@ void *get_user_handle_ptr( HANDLE handle, unsigned int type )
void
release_user_handle_ptr
(
void
*
ptr
)
{
assert
(
ptr
&&
ptr
!=
OBJ_OTHER_PROCESS
);
USER_Unlock
(
);
NtUserCallOneParam
(
1
,
NtUserLock
);
}
...
...
dlls/user32/win.h
View file @
eae27293
...
...
@@ -48,14 +48,10 @@ extern HWND *WIN_ListChildren( HWND hwnd ) DECLSPEC_HIDDEN;
extern
void
MDI_CalcDefaultChildPos
(
HWND
hwndClient
,
INT
total
,
LPPOINT
lpPos
,
INT
delta
,
UINT
*
id
)
DECLSPEC_HIDDEN
;
extern
HDESK
open_winstation_desktop
(
HWINSTA
hwinsta
,
LPCWSTR
name
,
DWORD
flags
,
BOOL
inherit
,
ACCESS_MASK
access
)
DECLSPEC_HIDDEN
;
/* user lock */
extern
void
USER_Lock
(
void
)
DECLSPEC_HIDDEN
;
extern
void
USER_Unlock
(
void
)
DECLSPEC_HIDDEN
;
/* to release pointers retrieved by WIN_GetPtr */
static
inline
void
WIN_ReleasePtr
(
WND
*
ptr
)
{
USER_Unlock
(
);
release_user_handle_ptr
(
ptr
);
}
extern
LRESULT
HOOK_CallHooks
(
INT
id
,
INT
code
,
WPARAM
wparam
,
LPARAM
lparam
,
BOOL
unicode
)
DECLSPEC_HIDDEN
;
...
...
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