diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-09-05 10:35:34 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2004-09-05 10:35:34 +0000 |
commit | 4f52488e06d54e8bd4b30e61d7a2e26b0d31d8e0 (patch) | |
tree | ddea4543a4730fdde6f4a0f7c6dbab9d01783394 /winsup | |
parent | 99f91ded6c485c872be883fe92e94e2991c9ce6d (diff) | |
download | newlib-4f52488e06d54e8bd4b30e61d7a2e26b0d31d8e0.zip newlib-4f52488e06d54e8bd4b30e61d7a2e26b0d31d8e0.tar.gz newlib-4f52488e06d54e8bd4b30e61d7a2e26b0d31d8e0.tar.bz2 |
2004-09-05 Hosaka Yuji <hos@tamanegi.org>
* include/winuser.h (MonitorFromPoint, MonitorFromRect,
MonitorFromWindow): Add prototypes.
* lib/user32.def (MonitorFromPoint, MonitorFromRect,
MonitorFromWindowMonitorFromWindow): Add stubs.
* include/shellapi.h (DuplicateIcon): Add prototype.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/w32api/ChangeLog | 8 | ||||
-rw-r--r-- | winsup/w32api/include/shellapi.h | 1 | ||||
-rw-r--r-- | winsup/w32api/include/winuser.h | 5 | ||||
-rw-r--r-- | winsup/w32api/lib/user32.def | 3 |
4 files changed, 17 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index c3d11a7..9d7eeba 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,11 @@ +2004-09-05 Hosaka Yuji <hos@tamanegi.org> + + * 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 <dannysmith@users.sourceforge.net> * include/winuser.h (WINUSERAPI): New define. diff --git a/winsup/w32api/include/shellapi.h b/winsup/w32api/include/shellapi.h index dba3874..8dbd7b1 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 6962643..a5aaf68 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 2c6f570..23dea29 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 |