win32u: Remove no longer needed NtUserCallOneParam exports.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7f64eead50
commit
322ee79383
|
@ -266,21 +266,6 @@ static void map_wparam_WtoA( MSG *msg, BOOL remove )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
|
||||||
* handle_internal_message
|
|
||||||
*
|
|
||||||
* Handle an internal Wine message instead of calling the window proc.
|
|
||||||
*/
|
|
||||||
LRESULT handle_internal_message( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam )
|
|
||||||
{
|
|
||||||
MSG m;
|
|
||||||
m.hwnd = hwnd;
|
|
||||||
m.message = msg;
|
|
||||||
m.wParam = wparam;
|
|
||||||
m.lParam = lparam;
|
|
||||||
return NtUserCallOneParam( (UINT_PTR)&m, NtUserHandleInternalMessage );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* since the WM_DDE_ACK response to a WM_DDE_EXECUTE message should contain the handle
|
/* since the WM_DDE_ACK response to a WM_DDE_EXECUTE message should contain the handle
|
||||||
* to the memory handle, we keep track (in the server side) of all pairs of handle
|
* to the memory handle, we keep track (in the server side) of all pairs of handle
|
||||||
* used (the client passes its value and the content of the memory handle), and
|
* used (the client passes its value and the content of the memory handle), and
|
||||||
|
|
|
@ -142,17 +142,6 @@ BOOL is_desktop_window( HWND hwnd )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************
|
|
||||||
* flush_window_surfaces
|
|
||||||
*
|
|
||||||
* Flush pending output from all window surfaces.
|
|
||||||
*/
|
|
||||||
void flush_window_surfaces( BOOL idle )
|
|
||||||
{
|
|
||||||
NtUserCallOneParam( idle, NtUserFlushWindowSurfaces );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* WIN_GetPtr
|
* WIN_GetPtr
|
||||||
*
|
*
|
||||||
|
|
|
@ -36,7 +36,6 @@ struct tagDIALOGINFO;
|
||||||
/* Window functions */
|
/* Window functions */
|
||||||
extern HWND get_hwnd_message_parent(void) DECLSPEC_HIDDEN;
|
extern HWND get_hwnd_message_parent(void) DECLSPEC_HIDDEN;
|
||||||
extern BOOL is_desktop_window( HWND hwnd ) DECLSPEC_HIDDEN;
|
extern BOOL is_desktop_window( HWND hwnd ) DECLSPEC_HIDDEN;
|
||||||
extern void flush_window_surfaces( BOOL idle ) DECLSPEC_HIDDEN;
|
|
||||||
extern WND *WIN_GetPtr( HWND hwnd ) DECLSPEC_HIDDEN;
|
extern WND *WIN_GetPtr( HWND hwnd ) DECLSPEC_HIDDEN;
|
||||||
extern HWND WIN_GetFullHandle( HWND hwnd ) DECLSPEC_HIDDEN;
|
extern HWND WIN_GetFullHandle( HWND hwnd ) DECLSPEC_HIDDEN;
|
||||||
extern HWND WIN_IsCurrentProcess( HWND hwnd ) DECLSPEC_HIDDEN;
|
extern HWND WIN_IsCurrentProcess( HWND hwnd ) DECLSPEC_HIDDEN;
|
||||||
|
|
|
@ -1079,7 +1079,7 @@ BOOL reply_message_result( LRESULT result, MSG *msg )
|
||||||
*
|
*
|
||||||
* Handle an internal Wine message instead of calling the window proc.
|
* Handle an internal Wine message instead of calling the window proc.
|
||||||
*/
|
*/
|
||||||
LRESULT handle_internal_message( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam )
|
static LRESULT handle_internal_message( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam )
|
||||||
{
|
{
|
||||||
switch(msg)
|
switch(msg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -292,9 +292,6 @@ HICON alloc_cursoricon_handle( BOOL is_icon ) DECLSPEC_HIDDEN;
|
||||||
extern void free_dce( struct dce *dce, HWND hwnd ) DECLSPEC_HIDDEN;
|
extern void free_dce( struct dce *dce, HWND hwnd ) DECLSPEC_HIDDEN;
|
||||||
extern void invalidate_dce( WND *win, const RECT *extra_rect ) DECLSPEC_HIDDEN;
|
extern void invalidate_dce( WND *win, const RECT *extra_rect ) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
/* message.c */
|
|
||||||
LRESULT handle_internal_message( HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam ) DECLSPEC_HIDDEN;
|
|
||||||
|
|
||||||
/* window.c */
|
/* window.c */
|
||||||
HANDLE alloc_user_handle( struct user_object *ptr, unsigned int type ) DECLSPEC_HIDDEN;
|
HANDLE alloc_user_handle( struct user_object *ptr, unsigned int type ) DECLSPEC_HIDDEN;
|
||||||
void *free_user_handle( HANDLE handle, unsigned int type ) DECLSPEC_HIDDEN;
|
void *free_user_handle( HANDLE handle, unsigned int type ) DECLSPEC_HIDDEN;
|
||||||
|
|
|
@ -4729,22 +4729,12 @@ ULONG_PTR WINAPI NtUserCallOneParam( ULONG_PTR arg, ULONG code )
|
||||||
params->next_unicode );
|
params->next_unicode );
|
||||||
}
|
}
|
||||||
|
|
||||||
case NtUserFlushWindowSurfaces:
|
|
||||||
flush_window_surfaces( arg );
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
case NtUserGetDeskPattern:
|
case NtUserGetDeskPattern:
|
||||||
return get_entry( &entry_DESKPATTERN, 256, (WCHAR *)arg );
|
return get_entry( &entry_DESKPATTERN, 256, (WCHAR *)arg );
|
||||||
|
|
||||||
case NtUserGetWinProcPtr:
|
case NtUserGetWinProcPtr:
|
||||||
return (UINT_PTR)get_winproc_ptr( UlongToHandle(arg) );
|
return (UINT_PTR)get_winproc_ptr( UlongToHandle(arg) );
|
||||||
|
|
||||||
case NtUserHandleInternalMessage:
|
|
||||||
{
|
|
||||||
MSG *msg = (MSG *)arg;
|
|
||||||
return handle_internal_message( msg->hwnd, msg->message, msg->wParam, msg->lParam );
|
|
||||||
}
|
|
||||||
|
|
||||||
case NtUserLock:
|
case NtUserLock:
|
||||||
switch( arg )
|
switch( arg )
|
||||||
{
|
{
|
||||||
|
|
|
@ -687,10 +687,8 @@ enum
|
||||||
NtUserCallOneParam_RealizePalette,
|
NtUserCallOneParam_RealizePalette,
|
||||||
/* temporary exports */
|
/* temporary exports */
|
||||||
NtUserCallHooks,
|
NtUserCallHooks,
|
||||||
NtUserFlushWindowSurfaces,
|
|
||||||
NtUserGetDeskPattern,
|
NtUserGetDeskPattern,
|
||||||
NtUserGetWinProcPtr,
|
NtUserGetWinProcPtr,
|
||||||
NtUserHandleInternalMessage,
|
|
||||||
NtUserLock,
|
NtUserLock,
|
||||||
NtUserSetCallbacks,
|
NtUserSetCallbacks,
|
||||||
NtUserSpyGetVKeyName,
|
NtUserSpyGetVKeyName,
|
||||||
|
|
Loading…
Reference in New Issue