From 4f52488e06d54e8bd4b30e61d7a2e26b0d31d8e0 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sun, 5 Sep 2004 10:35:34 +0000 Subject: [PATCH] 2004-09-05 Hosaka Yuji * include/winuser.h (MonitorFromPoint, MonitorFromRect, MonitorFromWindow): Add prototypes. * lib/user32.def (MonitorFromPoint, MonitorFromRect, MonitorFromWindowMonitorFromWindow): Add stubs. * include/shellapi.h (DuplicateIcon): Add prototype. --- winsup/w32api/ChangeLog | 8 ++++++++ winsup/w32api/include/shellapi.h | 1 + winsup/w32api/include/winuser.h | 5 +++++ winsup/w32api/lib/user32.def | 3 +++ 4 files changed, 17 insertions(+) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index c3d11a7cf..9d7eebabd 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,11 @@ +2004-09-05 Hosaka Yuji + + * include/winuser.h (MonitorFromPoint, MonitorFromRect, + MonitorFromWindow): Add prototypes. + * lib/user32.def (MonitorFromPoint, MonitorFromRect, + MonitorFromWindowMonitorFromWindow): Add stubs. + * include/shellapi.h (DuplicateIcon): Add prototype. + 2004-09-05 Danny Smith * include/winuser.h (WINUSERAPI): New define. diff --git a/winsup/w32api/include/shellapi.h b/winsup/w32api/include/shellapi.h index dba3874bb..8dbd7b1bb 100644 --- a/winsup/w32api/include/shellapi.h +++ b/winsup/w32api/include/shellapi.h @@ -254,6 +254,7 @@ void WINAPI DragFinish(HDROP); UINT WINAPI DragQueryFileA(HDROP,UINT,LPSTR,UINT); UINT WINAPI DragQueryFileW(HDROP,UINT,LPWSTR,UINT); BOOL WINAPI DragQueryPoint(HDROP,LPPOINT); +HICON WINAPI DuplicateIcon(HINSTANCE,HICON); HICON WINAPI ExtractAssociatedIconA(HINSTANCE,LPCSTR,PWORD); HICON WINAPI ExtractAssociatedIconW(HINSTANCE,LPCWSTR,PWORD); HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT); diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h index 6962643b2..a5aaf6892 100644 --- a/winsup/w32api/include/winuser.h +++ b/winsup/w32api/include/winuser.h @@ -3649,6 +3649,11 @@ WINUSERAPI int WINAPI MessageBoxIndirectA(CONST MSGBOXPARAMSA*); WINUSERAPI int WINAPI MessageBoxIndirectW(CONST MSGBOXPARAMSW*); WINUSERAPI BOOL WINAPI ModifyMenuA(HMENU,UINT,UINT,UINT,LPCSTR); WINUSERAPI BOOL WINAPI ModifyMenuW(HMENU,UINT,UINT,UINT,LPCWSTR); +#if (_WIN32_WINNT >= 0x0500 || _WIN32_WINDOWS >= 0x0410) +WINUSERAPI HMONITOR WINAPI MonitorFromPoint(POINT,DWORD); +WINUSERAPI HMONITOR WINAPI MonitorFromRect(LPCRECT,DWORD); +WINUSERAPI HMONITOR WINAPI MonitorFromWindow(HWND,DWORD); +#endif WINUSERAPI void WINAPI mouse_event(DWORD,DWORD,DWORD,DWORD,ULONG_PTR); WINUSERAPI BOOL WINAPI MoveWindow(HWND,int,int,int,int,BOOL); WINUSERAPI DWORD WINAPI MsgWaitForMultipleObjects(DWORD,CONST HANDLE*,BOOL,DWORD,DWORD); diff --git a/winsup/w32api/lib/user32.def b/winsup/w32api/lib/user32.def index 2c6f5702d..23dea29e4 100644 --- a/winsup/w32api/lib/user32.def +++ b/winsup/w32api/lib/user32.def @@ -439,6 +439,9 @@ MessageBoxIndirectW@4 MessageBoxW@16 ModifyMenuA@20 ModifyMenuW@20 +MonitorFromPoint@8 +MonitorFromRect@8 +MonitorFromWindow@8 MoveWindow@24 MsgWaitForMultipleObjects@20 MsgWaitForMultipleObjectsEx@20