Go to the documentation of this file.00001
00021 #ifndef _SHOBJIDL_H
00022 #define _SHOBJIDL_H
00023
00024 #define INITGUID
00025 #include <windows.h>
00026
00027 #ifndef DOXYGEN_EXCLUDE
00028 DEFINE_GUID(CLSID_TaskbarList, 0x56fdf344,0xfd6d,0x11d0,0x95,0x8a,0x00,0x60,0x97,0xc9,0xa0,0x90);
00029 DEFINE_GUID(IID_ITaskbarList3, 0xea1afb91,0x9e28,0x4b86,0x90,0xe9,0x9e,0x9f,0x8a,0x5e,0xef,0xaf);
00030 #endif
00031
00032 enum TBPFLAG {
00034 TBPF_NOPROGRESS = 0,
00035
00037 TBPF_INDETERMINATE = 0x1,
00038
00040 TBPF_NORMAL = 0x2,
00041
00043 TBPF_ERROR = 0x4,
00044
00046 TBPF_PAUSED = 0x8
00047 };
00048
00049 #ifndef DOXYGEN_EXCLUDE
00050 DECLARE_INTERFACE_(ITaskbarList3, IUnknown)
00051 {
00052
00053 STDMETHOD(QueryInterface) (THIS_ REFIID riid, void **ppv) PURE;
00054 STDMETHOD_(ULONG, AddRef) (THIS) PURE;
00055 STDMETHOD_(ULONG, Release) (THIS) PURE;
00056
00057 STDMETHOD(HrInit) (THIS) PURE;
00058 STDMETHOD(AddTab) (THIS_ HWND hwnd) PURE;
00059 STDMETHOD(DeleteTab) (THIS_ HWND hwnd) PURE;
00060 STDMETHOD(ActivateTab) (THIS_ HWND hwnd) PURE;
00061 STDMETHOD(SetActiveAlt) (THIS_ HWND hwnd) PURE;
00062
00063 STDMETHOD(MarkFullscreenWindow) (THIS_ HWND hwnd, BOOL fFullscreen) PURE;
00064
00065 STDMETHOD(SetProgressValue) (THIS_ HWND hwnd, ULONGLONG ullCompleted, ULONGLONG ullTotal) PURE;
00066 STDMETHOD(SetProgressState) (THIS_ HWND hwnd, TBPFLAG tbpFlags) PURE;
00067 };
00068 #else
00069
00075 public interface class ITaskbarList3: public ITaskbarList2 {
00084 HRESULT SetProgressState(HWND hwnd, TBPFLAG tbpFlags);
00091 HRESULT SetProgressValue(HWND hwnd, ULONGLONG ullCompleted, ULONGLONG ullTotal);
00092 };
00093 #endif
00094
00095 #endif