1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-17 12:02:48 +01:00

Copy taskbar GUID from win7 SDK.

This commit is contained in:
John Maguire 2012-11-13 17:02:42 +01:00
parent 79318cc4e1
commit 0ce05939aa

View File

@ -96,6 +96,8 @@ void Windows7ThumbBar::HandleWinEvent(MSG* msg) {
taskbar_list_ = NULL; taskbar_list_ = NULL;
} }
// Copied from win7 SDK shobjidl.h
static const GUID CLSID_ITaskbarList ={ 0x56FDF344,0xFD6D,0x11d0,{0x95,0x8A,0x00,0x60,0x97,0xC9,0xA0,0x90}};
// Create the taskbar list // Create the taskbar list
hr = CoCreateInstance(CLSID_ITaskbarList, NULL, CLSCTX_ALL, hr = CoCreateInstance(CLSID_ITaskbarList, NULL, CLSCTX_ALL,
IID_ITaskbarList3, (void**) &taskbar_list_); IID_ITaskbarList3, (void**) &taskbar_list_);