Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_TaskbarWin32.h
| Show All 18 Lines | |||||
| */ | */ | ||||
| #ifndef __GHOST_TASKBARWIN32_H__ | #ifndef __GHOST_TASKBARWIN32_H__ | ||||
| #define __GHOST_TASKBARWIN32_H__ | #define __GHOST_TASKBARWIN32_H__ | ||||
| #ifndef WIN32 | #ifndef WIN32 | ||||
| # error WIN32 only! | # error WIN32 only! | ||||
| #endif // WIN32 | #endif // WIN32 | ||||
| /* require Windows XP or newer */ | |||||
| #undef _WIN32_WINNT | |||||
| #define _WIN32_WINNT 0x501 | |||||
| #define WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | ||||
| #include <windows.h> | #include <windows.h> | ||||
| #include <shlobj.h> | #include <shlobj.h> | ||||
| // ITaskbarList, ITaskbarList2 and ITaskbarList3 might be missing, present here in that case. | // ITaskbarList, ITaskbarList2 and ITaskbarList3 might be missing, present here in that case. | ||||
| // Note, ITaskbarList3 is supported only since Windows 7, though. Check for that is done in | // Note, ITaskbarList3 is supported only since Windows 7, though. Check for that is done in | ||||
| // GHOST_WindowWin32 | // GHOST_WindowWin32 | ||||
| #ifndef __ITaskbarList_INTERFACE_DEFINED__ | #ifndef __ITaskbarList_INTERFACE_DEFINED__ | ||||
| ▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines | |||||