Commit eae27293 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

user32: Remove no longer needed helpers.

parent 915ac1c1
...@@ -43,24 +43,6 @@ static DWORD exiting_thread_id; ...@@ -43,24 +43,6 @@ static DWORD exiting_thread_id;
extern void WDML_NotifyThreadDetach(void); 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 * USER_CheckNotLock
* *
* Make sure that we don't hold the user lock. * Make sure that we don't hold the user lock.
......
...@@ -54,7 +54,7 @@ void *get_user_handle_ptr( HANDLE handle, unsigned int type ) ...@@ -54,7 +54,7 @@ void *get_user_handle_ptr( HANDLE handle, unsigned int type )
void release_user_handle_ptr( void *ptr ) void release_user_handle_ptr( void *ptr )
{ {
assert( ptr && ptr != OBJ_OTHER_PROCESS ); assert( ptr && ptr != OBJ_OTHER_PROCESS );
USER_Unlock(); NtUserCallOneParam( 1, NtUserLock );
} }
......
...@@ -48,14 +48,10 @@ extern HWND *WIN_ListChildren( HWND hwnd ) DECLSPEC_HIDDEN; ...@@ -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 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; 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 */ /* to release pointers retrieved by WIN_GetPtr */
static inline void WIN_ReleasePtr( WND *ptr ) 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; extern LRESULT HOOK_CallHooks( INT id, INT code, WPARAM wparam, LPARAM lparam, BOOL unicode ) DECLSPEC_HIDDEN;
......
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