Commit 46d27618 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

user32: Remove now unused virtual screen helpers.

parent c899cc82
......@@ -160,43 +160,6 @@ static void SYSPARAMS_NonClientMetrics32ATo32W( const NONCLIENTMETRICSA* lpnm32A
/* Helper functions to retrieve monitors info */
static BOOL CALLBACK get_virtual_screen_proc( HMONITOR monitor, HDC hdc, LPRECT rect, LPARAM lp )
{
RECT *virtual_rect = (RECT *)lp;
UnionRect( virtual_rect, virtual_rect, rect );
return TRUE;
}
RECT get_virtual_screen_rect(void)
{
RECT rect = {0};
NtUserEnumDisplayMonitors( 0, NULL, get_virtual_screen_proc, (LPARAM)&rect );
return rect;
}
static BOOL CALLBACK get_primary_monitor_proc( HMONITOR monitor, HDC hdc, LPRECT rect, LPARAM lp )
{
RECT *primary_rect = (RECT *)lp;
if (!rect->top && !rect->left && rect->right && rect->bottom)
{
*primary_rect = *rect;
return FALSE;
}
return TRUE;
}
RECT get_primary_monitor_rect(void)
{
RECT rect = {0};
NtUserEnumDisplayMonitors( 0, NULL, get_primary_monitor_proc, (LPARAM)&rect );
return rect;
}
HDC get_display_dc(void)
{
EnterCriticalSection( &display_dc_section );
......@@ -235,7 +198,7 @@ static void release_display_device_init_mutex( HANDLE mutex )
}
/* Wait until graphics driver is loaded by explorer */
void wait_graphics_driver_ready(void)
static void wait_graphics_driver_ready(void)
{
static BOOL ready = FALSE;
......
......@@ -55,10 +55,7 @@ extern HANDLE render_synthesized_format( UINT format, UINT from ) DECLSPEC_HIDDE
extern void CLIPBOARD_ReleaseOwner( HWND hwnd ) DECLSPEC_HIDDEN;
extern HDC get_display_dc(void) DECLSPEC_HIDDEN;
extern void release_display_dc( HDC hdc ) DECLSPEC_HIDDEN;
extern void wait_graphics_driver_ready(void) DECLSPEC_HIDDEN;
extern void *get_hook_proc( void *proc, const WCHAR *module, HMODULE *free_module ) DECLSPEC_HIDDEN;
extern RECT get_virtual_screen_rect(void) DECLSPEC_HIDDEN;
extern RECT get_primary_monitor_rect(void) DECLSPEC_HIDDEN;
extern DWORD get_input_codepage( void ) DECLSPEC_HIDDEN;
extern BOOL map_wparam_AtoW( UINT message, WPARAM *wparam, enum wm_char_mapping mapping ) DECLSPEC_HIDDEN;
extern HPEN SYSCOLOR_GetPen( INT index ) 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