38 #include "../dialogs/searchprogram.h" 39 #include "../dialogs/settings.h" 42 #define SHELLPATH_CONTROL_PANEL TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}") 43 #define SHELLPATH_PRINTERS TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}") 44 #define SHELLPATH_NET_CONNECTIONS TEXT("::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}") 65 #ifdef _LIGHT_STARTMENU 73 _create_info(create_info),
94 #ifdef _LIGHT_STARTMENU 112 return s_wcStartMenu;
137 #ifndef _LIGHT_STARTMENU 175 bool hasSubmenu =
false;
181 #ifdef _LIGHT_STARTMENU 182 _buttons.push_back(SMBtnInfo(sme, it->first, hasSubmenu));
188 #ifdef _LIGHT_STARTMENU 189 if (_buttons.empty())
195 #ifdef _LIGHT_STARTMENU 199 #ifdef _LAZY_ICONEXTRACT 218 #ifdef _LAZY_ICONEXTRACT 237 if (
p>
path && (
p[-1]==
'\\' ||
p[-1]==
'/'))
248 if (!ignore.empty()) {
251 _tcscat(ignore_path, ignore_dir);
252 _tcscat(ignore_name, ignore_ext);
262 lwr_filter.toLower();
267 if (
entry->_shell_attribs & SFGAO_HIDDEN)
272 if (*ignore_name && !
_tcsicmp(
entry->_data.cFileName, ignore_name))
287 if (!
_tcsstr(lwr_name,lwr_filter) && !
_tcsstr(lwr_disp,lwr_filter))
303 PaintCanvas canvas(_hwnd);
348 WindowRect
pos(_hwnd);
355 #ifdef _LIGHT_STARTMENU 377 #ifdef _LIGHT_STARTMENU 385 #ifdef _LIGHT_STARTMENU 388 if (
lparam != _last_mouse_pos) {
392 RECT rect_up, rect_down;
417 int new_id = ButtonHitTest(
pt);
419 if (new_id>0 && new_id!=_selected_id)
420 SelectButton(new_id);
460 #ifdef _LAZY_ICONEXTRACT 480 SelectButtonIndex(0,
wparam!=0);
483 #ifdef _LIGHT_STARTMENU 488 int id = ButtonHitTest(clnt_pt);
514 #ifdef _LIGHT_STARTMENU 516 int StartMenu::ButtonHitTest(
POINT pt)
518 ClientRect clnt(_hwnd);
525 for(SMBtnVector::const_iterator it=_buttons.begin()+
_scroll_pos; it!=_buttons.end(); ++it) {
526 const SMBtnInfo&
info = *it;
545 void StartMenu::InvalidateSelection()
547 if (_selected_id <= 0)
550 ClientRect clnt(_hwnd);
554 for(SMBtnVector::const_iterator it=_buttons.begin()+
_scroll_pos; it!=_buttons.end(); ++it) {
555 const SMBtnInfo&
info = *it;
559 if (
info._id == _selected_id) {
568 const SMBtnInfo* StartMenu::GetButtonInfo(
int id)
const 570 for(SMBtnVector::const_iterator it=_buttons.begin(); it!=_buttons.end(); ++it)
577 bool StartMenu::SelectButton(
int id,
bool open_sub)
582 if (
id == _selected_id)
585 InvalidateSelection();
587 const SMBtnInfo* btn = GetButtonInfo(
id);
589 if (btn && btn->_enabled) {
592 InvalidateSelection();
595 if (btn->_hasSubmenu) {
608 bool StartMenu::OpenSubmenu(
bool select_first)
610 if (_selected_id == -1)
613 InvalidateSelection();
615 const SMBtnInfo* btn = GetButtonInfo(_selected_id);
618 if (btn->_hasSubmenu) {
632 int StartMenu::GetSelectionIndex()
634 if (_selected_id == -1)
637 for(
int i=0;
i<(
int)_buttons.size(); ++
i)
638 if (_buttons[
i]._id == _selected_id)
644 bool StartMenu::SelectButtonIndex(
int idx,
bool open_sub)
646 if (
idx>=0 &&
idx<(
int)_buttons.size())
647 return SelectButton(_buttons[
idx]._id, open_sub);
652 void StartMenu::ProcessKey(
int vk)
669 SelectButtonIndex(0,
false);
673 SelectButtonIndex(_buttons.size()-1,
false);
692 if (
vk>=
'0' &&
vk<=
'Z')
693 JumpToNextShortcut(
vk);
697 bool StartMenu::Navigate(
int step)
699 int idx = GetSelectionIndex();
706 idx = _buttons.size() - step;
712 if (_buttons.size()<=1 && (idx<0 || idx>(
int)_buttons.size()))
716 idx += _buttons.size();
718 if (
idx > (
int)_buttons.size())
719 idx -= _buttons.size()+1;
721 if (SelectButtonIndex(
idx,
false))
728 bool StartMenu::JumpToNextShortcut(
char c)
730 int cur_idx = GetSelectionIndex();
738 SMBtnVector::const_iterator cur_it = _buttons.begin();
739 cur_it += cur_idx + 1;
742 SMBtnVector::const_iterator it = cur_it;
743 for(; it!=_buttons.end(); ++it) {
744 const SMBtnInfo& btn = *it;
746 if (!btn._title.empty() &&
toupper((TBYTE)btn._title.at(0)) ==
c) {
748 first_found = btn._id;
755 it = _buttons.begin();
756 for(; it!=_buttons.end() && it!=cur_it; ++it) {
757 const SMBtnInfo& btn = *it;
759 if (!btn._title.empty() &&
toupper((TBYTE)btn._title.at(0)) ==
c) {
761 first_found = btn._id;
768 SelectButton(first_found);
778 #endif // _LIGHT_STARTMENU 783 #ifdef _LIGHT_STARTMENU 784 ClientRect clnt(_hwnd);
788 for(SMBtnVector::const_iterator it=_buttons.begin()+
_scroll_pos; it!=_buttons.end(); ++it) {
789 const SMBtnInfo&
info = *it;
793 if (
info._id ==
id) {
820 ClientRect clnt(_hwnd);
843 ClientRect clnt(_hwnd);
855 *prect_down = *prect_up;
875 #ifdef _LIGHT_STARTMENU 879 ClientRect clnt(_hwnd);
883 int sep_width =
rect.right-
rect.left - 4;
888 for(SMBtnVector::const_iterator it=_buttons.begin()+
_scroll_pos; it!=_buttons.end(); ++it) {
889 const SMBtnInfo& btn = *it;
891 if (
rect.top > canvas.rcPaint.bottom)
911 if (
rect.top >= canvas.rcPaint.top)
920 #ifdef _LAZY_ICONEXTRACT 925 #ifdef _SINGLE_ICONEXTRACT 931 SMBtnInfo& btn = _buttons[
idx];
954 WindowCanvas canvas(_hwnd);
972 int icons_extracted = 0;
973 int icons_updated = 0;
981 if (icons_extracted) {
986 sme._hIcon = (
HICON)-1;
989 const Entry* sm_entry = *it2;
991 if (sm_entry->_hIcon) {
992 sme._hIcon = sm_entry->_hIcon;
1000 SMBtnInfo&
info = *it;
1009 if (icons_updated) {
1024 ClientRect rt(
ctrl);
1026 if (rt.right !=
cx) {
1027 int height = rt.bottom - rt.top;
1043 #ifndef _LIGHT_STARTMENU 1059 #ifndef _LIGHT_STARTMENU 1092 sme->second._entries.insert(
entry);
1139 #ifdef _LIGHT_STARTMENU 1140 _buttons.push_back(SMBtnInfo(
title, icon_id,
id, hasSubmenu,
enabled));
1144 WindowRect
rect(_hwnd);
1145 ClientRect clnt(_hwnd);
1156 WindowCanvas canvas(_hwnd);
1163 if (text_width >
cx)
1164 rect.right += text_width-
cx;
1175 #ifdef _LIGHT_STARTMENU 1178 WindowRect
rect(_hwnd);
1179 ClientRect clnt(_hwnd);
1236 _buttons[GetSelectionIndex()]._enabled =
false;
1255 if (!new_folders.
empty()) {
1260 _buttons[GetSelectionIndex()]._enabled =
false;
1281 WindowRect
pos(_hwnd);
1330 shexinfo.
hwnd = hparent;
1350 if (!new_folders.
empty()) {
1379 #ifdef _LIGHT_STARTMENU 1383 bool hasSubmenu,
bool enabled,
bool has_focus,
bool pushed,
int icon_size);
1419 if (btn._hasSubmenu) {
1424 has_focus? selArrowIcon: arrowIcon,
1441 #ifdef _LIGHT_STARTMENU 1443 void StartMenu::ResizeToButtons()
1445 WindowRect
rect(_hwnd);
1447 WindowCanvas canvas(_hwnd);
1455 for(SMBtnVector::const_iterator it=_buttons.begin(); it!=_buttons.end(); ++it) {
1468 int text_width = max_width +
icon_size + 10 + 16;
1488 if (
rect.bottom > cyscreen) {
1494 bottom_max =
rect.bottom;
1515 #else // _LIGHT_STARTMENU 1596 WindowRect
pos(hwndOwner);
1603 #ifndef _LIGHT_STARTMENU 1629 #ifdef _LIGHT_STARTMENU 1633 #ifdef _LIGHT_STARTMENU 1748 #ifdef _LIGHT_STARTMENU 1769 PaintCanvas canvas(_hwnd);
1773 case WM_DISPLAYCHANGE:
1789 BitmapSelection sel(mem_dc,
bmp);
1791 ClientRect clnt(_hwnd);
1808 WindowCanvas
dc(_hwnd);
1814 else if (clr_bits > 4)
1844 super::ProcessKey(
vk);
1878 #ifndef _SHELL32_FAVORITES 1938 bool mdi = XMLBool(explorer_options,
"mdi",
true);
1941 MDIMainFrame::Create(
TEXT(
"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"), 0);
1944 SDIMainFrame::Create(
TEXT(
"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}"), 0);
1960 bool mdi = XMLBool(explorer_options,
"mdi",
true);
1963 MDIMainFrame::Create(
TEXT(
"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}"), 0);
1966 SDIMainFrame::Create(
TEXT(
"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\\::{21EC2020-3AEA-1069-A2DD-08002B30309D}\\::{2227A280-3AEA-1069-A2DE-08002B30309D}"), 0);
1973 case IDC_PRINTERS_MENU: 2001 bool mdi = XMLBool(explorer_options,
"mdi",
true);
2018 MessageBox(0, TEXT("not yet implemented"), ResString(IDS_TITLE), MB_OK); 2059 static DynamicFct<SHFINDFILES> SHFindFiles(TEXT("SHELL32"), 90); 2071 static DynamicFct<SHFINDCOMPUTER> SHFindComputer(TEXT("SHELL32"), 91); 2092 #ifndef TASKBAR_AT_TOP 2119 (*LogoffWindowsDialog)(0);
2133 (*ExitWindowsDialog)(hwndOwner);
2140 static DynamicFct<RESTARTWINDOWSDLG> RestartDlg(
TEXT(
"SHELL32"), 59);
2143 (*RestartDlg)(hwndOwner, (
LPWSTR)
L"You selected restart.\n\n",
flags);
2152 #if defined(ROSSHELL) || defined(__REACTOS__) // __REACTOS__ to be removed when printers will be implemented 2178 #if defined(ROSSHELL) || defined(__REACTOS__) // __REACTOS__ to be removed when printer/network will be implemented 2206 if (!
dir._scanned) {
2209 #ifdef _LAZY_ICONEXTRACT 2222 #ifndef _SHELL32_FAVORITES 2229 lwr_filter.toLower();
2251 if (!lwr_filter.empty()) {
static void ShowSearchComputer()
#define WINDOW_CREATOR(WND_CLASS)
EXTERN_C BOOL WINAPI SHFindComputer(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2)
void push_back(const_reference __x)
#define IDI_ARROW_SELECTED
BOOL WINAPI TranslateMessage(_In_ const MSG *)
HDWP WINAPI BeginDeferWindowPos(_In_ int)
file system path of special folder
GLubyte GLubyte GLubyte GLubyte w
BOOL launch_file(HWND hwnd, LPCTSTR cmd, UINT nCmdShow, LPCTSTR parameters)
void explorer_show_frame(int cmdShow, LPTSTR lpCmdLine)
void ExplorerPropertySheet(HWND hparent)
BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT)
#define GetNextWindow(h, c)
BOOL WINAPI IsWindow(_In_opt_ HWND)
void MoveVisible(HWND hwnd)
#define CSIDL_COMMON_FAVORITES
GLsizei const GLchar ** path
Retrieval of special shell folder paths.
TW_UINT32 TW_UINT16 TW_UINT16 MSG
#define ID_DESKTOPBAR_SETTINGS
virtual LRESULT Init(LPCREATESTRUCT pcs)
static void ShowRestartDialog(HWND hwndOwner, UINT flags)
SHELLEXECUTEINFOA SHELLEXECUTEINFO
BOOL WINAPI UpdateWindow(_In_ HWND)
#define IDS_SETTINGS_MENU
BOOL WINAPI AdjustWindowRectEx(_Inout_ LPRECT, _In_ DWORD, _In_ BOOL, _In_ DWORD)
DWORD WINAPI GetLastError(VOID)
BOOL WINAPI DeleteObject(_In_ HGDIOBJ)
#define COLOR_BTNHIGHLIGHT
GLint GLint GLint GLint GLint x
HWND WINAPI SetFocus(_In_opt_ HWND)
IShellFolder smart pointer.
pair< _T1, _T2 > _STLP_CALL make_pair(_T1 __x, _T2 __y)
#define IDC_CONTROL_PANEL
BOOL WINAPI ShowWindow(_In_ HWND, _In_ int)
DWORD GetPixel(LPDIRECTDRAWSURFACE7 Surface, UINT x, UINT y)
BOOL WINAPI DestroyWindow(_In_ HWND)
GLenum GLenum GLsizei const GLuint GLboolean enabled
DWORD WINAPI GetSysColor(_In_ int)
_Rep_type::const_iterator const_iterator
GLfloat GLfloat GLfloat GLfloat h
#define GetWindowStyle(hwnd)
#define CSIDL_COMMON_PROGRAMS
Exception with context information.
BOOL WINAPI PatBlt(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
int WINAPI GetDlgCtrlID(_In_ HWND)
const Icon & extract(LPCTSTR path, ICONCACHE_FLAGS flags=ICF_NORMAL)
void DrawGrayText(HDC hdc, LPRECT pRect, LPCTSTR title, int dt_flags)
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
void WINAPI SHAddToRecentDocs(UINT uFlags, LPCVOID pv)
static UINT WPARAM LPARAM lparam
static struct _test_info info[]
BOOL WINAPI EndDeferWindowPos(_In_ HDWP)
BOOL WINAPI SHFindFiles(PCIDLIST_ABSOLUTE pidlFolder, PCIDLIST_ABSOLUTE pidlSaveFile)
_Out_opt_ int _Out_opt_ int * cy
pair< iterator, bool > insert(const value_type &__x)
convenient loading of icon resources with specified sizes
static void ShowLaunchDialog(HWND hwndOwner)
#define IDS_DESKTOPBAR_SETTINGS
#define CSIDL_COMMON_STARTMENU
static HWND Create(CREATORFUNC creator, DWORD dwExStyle, LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle, int x, int y, int w, int h, HWND hwndParent=0, HMENU hMenu=0)
pair< iterator, bool > insert(const value_type &__x)
void WINAPI RunFileDlg(HWND hWndOwner, HICON hIcon, LPCWSTR lpstrDirectory, LPCWSTR lpstrTitle, LPCWSTR lpstrDescription, UINT uFlags)
#define COLOR_HIGHLIGHTTEXT
#define WINDOW_CREATOR_INFO(WND_CLASS, INFO_CLASS)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
#define FILE_ATTRIBUTE_DIRECTORY
_STLP_PRIV _List_iterator< ShellPath, _Const_traits< ShellPath > > const_iterator
#define CSIDL_COMMON_ADMINTOOLS
#define WINDOW_DYNAMIC_CAST(CLASS, hwnd)
void HandleException(COMException &e, HWND hwnd)
Exception Handler for COM exceptions.
int Command(int id, int code)
HDWP WINAPI DeferWindowPos(_In_ HDWP, _In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
void WINAPI ExitWindowsDialog(HWND hWndOwner)
BOOL WINAPI DrawIconEx(_In_ HDC, _In_ int, _In_ int, _In_ HICON, _In_ int, _In_ int, _In_ UINT, _In_opt_ HBRUSH, _In_ UINT)
_Rep_type::iterator iterator
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
window class with gray background color
int WINAPI GetSystemMetrics(_In_ int)
static BOOL pretranslate_msg(LPMSG pmsg)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
#define IDD_SEARCH_PROGRAM
void display_error(HWND hwnd, DWORD error)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
_STLP_TEMPLATE_FOR_CONT_EXT iterator find(const _KT &__x)
LRESULT PostParent(UINT nmsg, WPARAM wparam=0, LPARAM lparam=0)
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
_STLP_PRIV _List_iterator< StartMenuDirectory, _Nonconst_traits< StartMenuDirectory > > iterator
convenient loading of bitmap resources
static void ShowLogoffDialog(HWND hwndOwner)
int WINAPI GetDeviceCaps(_In_opt_ HDC, _In_ int)
ExplorerGlobals g_Globals
Window *(* CREATORFUNC_INFO)(HWND, const void *)
const Icon & get_icon(int icon_id)
#define IDC_SEARCH_PROGRAM
shell file/directory entry
BOOL WINAPI MoveWindow(_In_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ BOOL)
WDF_CHILD_LIST_ITERATOR iterator
Dialog to work with the complete list of start menu entries.
GLint GLint GLsizei GLsizei height
ShellFolder & GetDesktopFolder()
#define RFF_CALCDIRECTORY
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HWND WINAPI GetParent(_In_ HWND)
HWND WINAPI SetCapture(_In_ HWND hWnd)
#define IDS_CONTROL_PANEL
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 i
#define DESKTOPBARBAR_HEIGHT
#define ICF_FROM_ICON_SIZE(size)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
GLint GLint GLint GLint GLint GLint y
CtxMenuInterfaces _cm_ifs
BOOL WINAPI PtInRect(_In_ LPCRECT, _In_ POINT)
HWND WINAPI GetFocus(void)
BOOL WINAPI ReleaseCapture(void)
_TCHAR * _tcscat(_TCHAR *s, const _TCHAR *append)
_Rep_type::const_iterator const_iterator
static int DoModal(UINT nid, CREATORFUNC creator, HWND hwndParent=0)
BOOL WINAPI IsWindowVisible(_In_ HWND)
BOOL WINAPI SetForegroundWindow(_In_ HWND)
static BOOL dispatch_dialog_msg(LPMSG pmsg)
#define SelectBrush(hdc, hbr)
#define IDC_SETTINGS_MENU
virtual int Command(int id, int code)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
LRESULT SendParent(UINT nmsg, WPARAM wparam=0, LPARAM lparam=0)
EXTERN_C int WINAPI LogoffWindowsDialog(HWND hWndOwner)
convenient loading of string resources
BOOL WINAPI ScreenToClient(_In_ HWND, _Inout_ LPPOINT)
#define IDC_SEARCH_COMPUTER
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
#define GetWindowExStyle(hwnd)
HBRUSH WINAPI GetSysColorBrush(_In_ int)
DWORD WINAPI SHRestricted(RESTRICTIONS policy)
#define IDS_SEARCH_COMPUTER
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
wrapper class for item ID lists
static void ShowSearchDialog()
__analysis_noreturn void WINAPI PostQuitMessage(_In_ int)
base of all file and directory entries
void draw(HDC hdc, int x, int y, int cx, int cy, COLORREF bk_color, HBRUSH bk_brush) const
static VOID NTAPI BitBlt(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Width, _In_ ULONG Height, _In_reads_bytes_(Delta *Height) PUCHAR Buffer, _In_ ULONG BitsPerPixel, _In_ ULONG Delta)
_Rep_type::iterator iterator
static UINT WPARAM wparam
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *