summaryrefslogtreecommitdiff
path: root/sal/inc/systools/win32/user9x.h
diff options
context:
space:
mode:
authorStephan Schäfer <ssa@openoffice.org>2001-05-11 14:56:25 +0000
committerStephan Schäfer <ssa@openoffice.org>2001-05-11 14:56:25 +0000
commite3d9a45e994379072ac7ed65ee8a4fe474e3110f (patch)
treee64a88d01d5113d068d42343d53acd19e7285a29 /sal/inc/systools/win32/user9x.h
parentfcfb3b34e89011b1ac223de0bb4098dfa9476e22 (diff)
InsertMenuItem added
Diffstat (limited to 'sal/inc/systools/win32/user9x.h')
-rw-r--r--sal/inc/systools/win32/user9x.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/sal/inc/systools/win32/user9x.h b/sal/inc/systools/win32/user9x.h
index d15be196e843..450957f37e7b 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.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: tra $ $Date: 2000-12-11 16:36:17 $
+ * last change: $Author: ssa $ $Date: 2001-05-11 15:56:25 $
*
* 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 InsertMenuItemW
+#undef InsertMenuItemW
+#endif
+
//------------------------------------------------------------------------
// defines
//------------------------------------------------------------------------
@@ -158,6 +162,13 @@ USER9X_API BOOL ( WINAPI * lpfnSetWindowTextW ) (
LPCWSTR lpString
);
+USER9X_API BOOL ( WINAPI * lpfnInsertMenuItemW ) (
+ HMENU hMenu, // handle to menu
+ UINT uItem, // identifier or position
+ BOOL fByPosition, // meaning of uItem
+ LPCMENUITEMINFOW lpmii // menu item information
+);
+
//------------------------------------------------------------------------
// redefine the above undefined macros so that the preprocessor replaces
// all occurrences of this macros with our function pointer
@@ -170,6 +181,7 @@ USER9X_API BOOL ( WINAPI * lpfnSetWindowTextW ) (
#define RegisterClipboardFormatW lpfnRegisterClipboardFormatW
#define GetClipboardFormatNameW lpfnGetClipboardFormatNameW
#define SetWindowTextW lpfnSetWindowTextW
+#define InsertMenuItemW lpfnInsertMenuItemW
#ifdef __cplusplus
}