45 typedef map<String, FileTypeInfo>
super;
169#define ICON_SIZE_SMALL 16
170#define ICON_SIZE_MIDDLE 24
171#define ICON_SIZE_LARGE 32
173#define STARTMENUROOT_ICON_SIZE ICON_SIZE_MIDDLE
175#define ICON_SIZE_FROM_ICF(flags) (flags&ICF_LARGE? ICON_SIZE_LARGE: flags&ICF_MIDDLE? ICON_SIZE_MIDDLE: ICON_SIZE_SMALL)
176#define ICF_FROM_ICON_SIZE(size) (size>=ICON_SIZE_LARGE? ICF_LARGE: size>=ICON_SIZE_MIDDLE? ICF_MIDDLE: (ICONCACHE_FLAGS)0)
199 DesktopThreadPtr _pThread;
200 WindowHandle _hwndDesktop;
210struct DesktopThread :
public Thread
212 DesktopThread(
Desktop& desktop)
238#define DESKTOP_COUNT 4
static const WCHAR *const ext[]
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei GLenum type
GLint GLint GLint GLint GLint GLint y
GLubyte GLubyte GLubyte GLubyte w
GLfloat GLfloat GLfloat GLfloat h
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum GLenum GLint GLuint GLenum GLenum GLfloat GLenum GLfloat GLenum map
pair< HWND, DWORD > MinimizeStruct
desktop management
void SetWindowIcon(HWND hwnd, UINT nid)
set big and small icons out of the resources for a window
int ImageList_AddAlphaIcon(HIMAGELIST himl, HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd)
add icon with alpha channel to imagelist using the specified background color
HICON get_window_icon_small(HWND hwnd)
retrieve icon from window
HICON get_window_icon_big(HWND hwnd, bool allow_from_class=true)
struct ExplorerGlobals g_Globals
HBITMAP create_bitmap_from_icon(HICON hIcon, HBRUSH hbrush_bkgnd, HDC hdc_wnd)
create a bitmap from an icon
static HBITMAP create_bitmap(void)
_Out_opt_ int _Out_opt_ int * cy
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
list< MinimizeStruct > _minimized
WindowHandle _hwndForeground
void SwitchToDesktop(int idx)
void ToggleMinimize()
minimize/restore all windows on the desktop
base of all file and directory entries
structure containing global variables of Explorer
FileTypeManager _ftype_mgr
DWORD(STDAPICALLTYPE *_SHRestricted)(RESTRICTIONS)
map< String, FileTypeInfo > super
static bool is_exe_file(LPCTSTR ext)
const FileTypeInfo & operator[](String ext)
LPCTSTR set_type(struct Entry *entry, bool dont_hide_ext=false)
pair< String, pair< int, int > > IdxCacheKey
pair< String, int > CacheKey
pair< ShellPath, int > PidlCacheKey
map< PidlCacheKey, ICON_ID > PidlCacheMap
const Icon & add(HICON hIcon, ICON_TYPE type=IT_DYNAMIC)
map< CacheKey, ICON_ID > PathCacheMap
const Icon & extract(LPCTSTR path, ICONCACHE_FLAGS flags=ICF_NORMAL)
const Icon & get_icon(int icon_id)
map< IdxCacheKey, ICON_ID > IdxCacheMap
HIMAGELIST _himlSys_small
void free_icon(int icon_id)
HIMAGELIST get_sys_imagelist() const
void draw(HDC hdc, int x, int y, int cx, int cy, COLORREF bk_color, HBRUSH bk_brush) const
int get_sysiml_idx() const
int add_to_imagelist(HIMAGELIST himl, HDC hdc_wnd, COLORREF bk_color=GetSysColor(COLOR_WINDOW), HBRUSH bk_brush=GetSysColorBrush(COLOR_WINDOW)) const
ICON_TYPE get_icontype() const
convenient loading of bitmap resources
convenient loading of icon resources with specified sizes
convenient loading of standard (32x32) icon resources
convenient loading of string resources
wrapper class for item ID lists
convenient loading of small (16x16) icon resources
SysCacheIcon(int id, int sys_idx)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
DWORD WINAPI GetSysColor(_In_ int)
HBRUSH WINAPI GetSysColorBrush(_In_ int)
BOOL WINAPI DestroyIcon(_In_ HICON)