summaryrefslogtreecommitdiff
path: root/sal/inc/systools
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-06-15 13:50:49 +0000
committerTino Rachui <tra@openoffice.org>2001-06-15 13:50:49 +0000
commita62b22c29cd949459ceee1bee1be556b5e9da327 (patch)
tree05a9174ffa1583624442d35b1d038405bdf87db7 /sal/inc/systools
parent1c778d208c759d6ba232267b8c73cd7762a612f6 (diff)
#86986#added GetWindowTextW
Diffstat (limited to 'sal/inc/systools')
-rw-r--r--sal/inc/systools/win32/user9x.h15
1 files 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