IContextMenu2
Martin Fuchs
martin-fuchs at gmx.net
Sat Aug 30 07:29:49 CDT 2003
Changelog:
* define interface IContextMenu2
Index: include/wine/obj_contextmenu.h
===================================================================
RCS file: /home/wine/wine/include/wine/obj_contextmenu.h,v
retrieving revision 1.16
diff -u -r1.16 obj_contextmenu.h
--- include/wine/obj_contextmenu.h 11 Apr 2003 00:31:03 -0000 1.16
+++ include/wine/obj_contextmenu.h 30 Aug 2003 12:08:06 -0000
@@ -144,6 +144,22 @@
#define IContextMenu_HandleMenuMsg(p,a,b,c)
(p)->lpVtbl->HandleMenuMsg(p,a,b,c)
#endif
+#undef INTERFACE
+#define INTERFACE IContextMenu2
+DECLARE_INTERFACE_(IContextMenu2,IUnknown)
+{
+ STDMETHOD(QueryInterface)(THIS_ REFIID,PVOID*) PURE;
+ STDMETHOD_(ULONG,AddRef)(THIS) PURE;
+ STDMETHOD_(ULONG,Release)(THIS) PURE;
+ STDMETHOD(QueryContextMenu)(THIS_ HMENU,UINT,UINT,UINT,UINT) PURE;
+ STDMETHOD(InvokeCommand)(THIS_ LPCMINVOKECOMMANDINFO) PURE;
+ STDMETHOD(GetCommandString)(THIS_ UINT,UINT,PUINT,LPSTR,UINT) PURE;
+ STDMETHOD(HandleMenuMsg)(THIS_ UINT,WPARAM,LPARAM) PURE;
+};
+typedef IContextMenu2 *LPCONTEXTMENU2;
+#undef INTERFACE
+
+
#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */
More information about the wine-patches
mailing list