diff options
author | marha <marha@users.sourceforge.net> | 2014-05-01 21:48:37 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-05-01 21:48:37 +0200 |
commit | 72c84d16dcb5acff57a408388703baf94916105f (patch) | |
tree | 7b1ac0c12478128b8695f360bd6814eca74554e8 /xorg-server/hw/xwin/wintaskbar.c | |
parent | f8bfd354a693f0dc868dd565fc6d4a1a2915c887 (diff) | |
download | vcxsrv-72c84d16dcb5acff57a408388703baf94916105f.tar.gz vcxsrv-72c84d16dcb5acff57a408388703baf94916105f.tar.bz2 vcxsrv-72c84d16dcb5acff57a408388703baf94916105f.zip |
Solved problem with notab and noframe styles
Diffstat (limited to 'xorg-server/hw/xwin/wintaskbar.c')
-rw-r--r-- | xorg-server/hw/xwin/wintaskbar.c | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/xorg-server/hw/xwin/wintaskbar.c b/xorg-server/hw/xwin/wintaskbar.c index 7dd4ec30b..9c9faefe2 100644 --- a/xorg-server/hw/xwin/wintaskbar.c +++ b/xorg-server/hw/xwin/wintaskbar.c @@ -26,34 +26,7 @@ #include "win.h" #include "winwindow.h" -const GUID CLSID_TaskbarList = {0x56fdf344,0xfd6d,0x11d0,{0x95,0x8a,0x0,0x60,0x97,0xc9,0xa0,0x90}}; -const GUID IID_ITaskbarList = {0x56fdf342,0xfd6d,0x11d0,{0x95,0x8a,0x0,0x60,0x97,0xc9,0xa0,0x90}}; - -#ifdef INTERFACE -#undef INTERFACE -#endif - -#define INTERFACE ITaskbarList -DECLARE_INTERFACE_(ITaskbarList, IUnknown) -{ - /* IUnknown methods */ - STDMETHOD(QueryInterface) (THIS_ REFIID riid, void **ppv) PURE; - STDMETHOD_(ULONG, AddRef) (THIS) PURE; - STDMETHOD_(ULONG, Release) (THIS) PURE; - - /* ITaskbarList methods */ - STDMETHOD(HrInit) (THIS) PURE; - STDMETHOD(AddTab) (THIS_ HWND hWnd) PURE; - STDMETHOD(DeleteTab) (THIS_ HWND hWnd) PURE; - STDMETHOD(ActivateTab) (THIS_ HWND hWnd) PURE; - STDMETHOD(SetActiveAlt) (THIS_ HWND hWnd) PURE; -}; -#undef INTERFACE - -/* - The stuff above needs to be in win32api headers, not defined here, - or at least generated from the MIDL :-) -*/ +#include <shobjidl.h> /* This is unnecessarily heavyweight, we could just call CoInitialize() once at |