From a62b22c29cd949459ceee1bee1be556b5e9da327 Mon Sep 17 00:00:00 2001 From: Tino Rachui Date: Fri, 15 Jun 2001 13:50:49 +0000 Subject: [PATCH] #86986#added GetWindowTextW --- sal/inc/systools/win32/user9x.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/sal/inc/systools/win32/user9x.h b/sal/inc/systools/win32/user9x.h index 450957f37e7b..d768f000ffb1 100644 --- a/sal/inc/systools/win32/user9x.h +++ b/sal/inc/systools/win32/user9x.h @@ -2,9 +2,9 @@ * * $RCSfile: user9x.h,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: ssa $ $Date: 2001-05-11 15:56:25 $ + * last change: $Author: tra $ $Date: 2001-06-15 14:50:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,6 +102,10 @@ extern "C"{ #undef SetWindowTextW #endif +#ifdef GetWindowTextW +#undef GetWindowTextW +#endif + #ifdef InsertMenuItemW #undef InsertMenuItemW #endif @@ -162,6 +166,12 @@ USER9X_API BOOL ( WINAPI * lpfnSetWindowTextW ) ( LPCWSTR lpString ); +USER9X_API int ( WINAPI * lpfnGetWindowTextW ) ( + HWND hWnd, // handle to the window or control + LPWSTR lpString, // text buffer + int nMaxCount // length of text buffer +); + USER9X_API BOOL ( WINAPI * lpfnInsertMenuItemW ) ( HMENU hMenu, // handle to menu UINT uItem, // identifier or position @@ -181,6 +191,7 @@ USER9X_API BOOL ( WINAPI * lpfnInsertMenuItemW ) ( #define RegisterClipboardFormatW lpfnRegisterClipboardFormatW #define GetClipboardFormatNameW lpfnGetClipboardFormatNameW #define SetWindowTextW lpfnSetWindowTextW +#define GetWindowTextW lpfnGetWindowTextW #define InsertMenuItemW lpfnInsertMenuItemW #ifdef __cplusplus