14using namespace Gdiplus;
29 bool bIsValidItem1, bIsValidItem2;
30 bool bIsSep1, bIsSep2;
45 if (bIsSep1 && !bIsSep2 && !bIsValidItem2)
47 else if (!bIsSep1 && bIsSep2 && !bIsValidItem1)
49 else if (bIsSep1 && bIsSep2)
59 return ::DeleteMenu(hMenu, uPosition,
uFlags);
111 UINT idButton = (
UINT)lpttt->hdr.idFrom;
288 if (!szText.
IsEmpty() && szLoadedText.LoadStringW(uStringID))
300 if (szLoadedText.LoadStringW(uStringID))
579 float ZoomedImgWidth = ZoomRatio * (
float)
pImage->GetWidth();
580 float ZoomedImgHeight = ZoomRatio * (
float)
pImage->GetHeight();
583 pImage, ((
float)
width - ZoomedImgWidth) / 2.0, ((
float)
height - ZoomedImgHeight) / 2.0,
584 ZoomedImgWidth, ZoomedImgHeight);
637 RECT r = {0, 0, 0, 0};
817 switch (NotifyHeader->
code)
952 RECT r = {0, 0, 0, 0};
961 if (
Info->RetrieveScreenshot(ScrnshotLocation))
1156 if (lvi.iItem != -1)
1159 if (lvi.iImage != -1)
1256 Item.iItem = ItemIndex;
1277 return ctx->lvw->CompareFunc(lParam1, lParam2,
ctx->iSubItem);
1289 IndexInfo.
lParam = lParam1;
1290 Index = FindItem(-1, &IndexInfo);
1294 IndexInfo.
lParam = lParam2;
1295 Index = FindItem(-1, &IndexInfo);
1305 RECT r = {205, 28, 465, 250};
1316#pragma push_macro("SubclassWindow")
1317#undef SubclassWindow
1320#pragma pop_macro("SubclassWindow")
1361 INT item = GetSelectionMark();
1373 if (!DeleteAllItems())
1474 SetItemText(
Index, 1, AppInfo->szDisplayVersion.IsEmpty() ?
L"---" : AppInfo->szDisplayVersion);
1475 SetItemText(
Index, 2, AppInfo->szComments.IsEmpty() ?
L"---" : AppInfo->szComments);
1487 if (InitialCheckState)
1492 SetItemText(
Index, 1, AppInfo->szDisplayVersion);
1493 SetItemText(
Index, 2, AppInfo->szComments);
1600 switch (pNotifyHeader->
code)
1654 if (
Item->iItem != -1)
1670 switch (pNotifyHeader->
code)
1715 pt.x =
r.left + (
r.right -
r.left) / 2;
1716 pt.y =
r.top + (
r.bottom -
r.top) / 2;
1827 if (dSearchbarMargin > dToolbarTreshold)
1831 else if (dSearchbarMargin < dToolbarTreshold)
1890 if (szBuf == szWndText)
1914 if (szBuf == szWndText)
1993 {
sizeof(
WNDCLASSEX), csStyle, StartWindowProc, 0, 0,
NULL,
NULL,
NULL, (HBRUSH)(
COLOR_BTNFACE + 1),
NULL,
1994 L"RAppsApplicationView",
NULL},
2007 RECT r = {0, 0, 0, 0};
2107 Item.iItem = -1,
Item.iSubItem = 0;
2151 BOOL CanModify =
Info->CanModify();
_STLP_DECLSPEC complex< float > _STLP_CALL sin(const complex< float > &)
_STLP_DECLSPEC complex< float > _STLP_CALL sqrt(const complex< float > &)
static int g_DefaultPackageIconILIdx
int ScrnshotDownloadCallback(pASYNCINET AsyncInet, ASYNC_EVENT Event, WPARAM wParam, LPARAM lParam, VOID *Extension)
BOOL DeleteMenuEx(_In_ HMENU hMenu, _In_ UINT uPosition, _In_ UINT uFlags)
static UINT g_AsyncIconTaskId
static DWORD CALLBACK AsyncLoadIconProc(LPVOID Param)
struct CAsyncLoadIcon * g_AsyncIconTasks
HICON g_hDefaultPackageIcon
#define WM_RAPPS_DOWNLOAD_COMPLETE
#define WM_RAPPSLIST_ASYNCICON
int ScrnshotDownloadCallback(pASYNCINET AsyncInet, ASYNC_EVENT Event, WPARAM wParam, LPARAM lParam, VOID *Extension)
#define BROKENIMG_ICON_SIZE
#define STATEIMAGETOINDEX(x)
#define WM_RAPPS_RESIZE_CHILDREN
#define STATEIMAGE_UNCHECKED
#define SCRNSHOT_MAX_ASPECT_RAT
#define LOADING_ANIMATION_PERIOD
#define STATEIMAGE_CHECKED
#define LOADING_ANIMATION_FPS
#define RICHEDIT_MIN_WIDTH
struct __ScrnshotDownloadParam ScrnshotDownloadParam
HICON g_hDefaultPackageIcon
#define TIMER_LOADING_ANIMATION
#define INFO_DISPLAY_PADDING
@ AppViewTypeInstalledApps
@ AppViewTypeAvailableApps
pASYNCINET AsyncInetDownload(LPCWSTR lpszAgent, DWORD dwAccessType, LPCWSTR lpszProxy, LPCWSTR lpszProxyBypass, LPCWSTR lpszUrl, BOOL bAllowCache, ASYNCINET_CALLBACK Callback, VOID *Extension)
BOOL AsyncInetCancel(pASYNCINET AsyncInet)
VOID AsyncInetRelease(pASYNCINET AsyncInet)
HTREEITEM InsertItem(HWND hTree, LPCWSTR szName, HTREEITEM hParent, HTREEITEM hInsertAfter)
#define IDS_TOOLTIP_REFRESH
BOOL GetStorageDirectory(CStringW &lpDirectory)
VOID ShowPopupMenuEx(HWND hwnd, HWND hwndOwner, UINT MenuID, UINT DefaultItem, POINT *Point=NULL)
INT GetSystemColorDepth()
VOID CopyTextToClipboard(LPCWSTR lpszText)
#define IDS_TOOLTIP_UPDATE_DB
#define IDS_APP_DESCRIPTION
#define IDS_TOOLTIP_INSTALL
#define IDS_WELCOME_TITLE
#define IDS_TOOLTIP_SETTINGS
#define IDS_APP_INST_VERSION
#define IDS_TOOLTIP_MODIFY
#define IDS_TOOLTIP_UNINSTALL
#define IDS_TOOLTIP_SELECT_ALL
#define InterlockedIncrement64(a)
bool IsEmpty() const noexcept
void ReleaseBuffer(_In_ int nNewLength=-1)
PXSTR GetString() noexcept
int GetLength() const noexcept
int Compare(_In_z_ PCXSTR psz) const
static LRESULT CALLBACK StartWindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
HWND Create(HWND hWndParent, _U_RECT rect=NULL, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, _U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
void SetRedraw(BOOL bRedraw=TRUE)
CWindow GetParent() const
BOOL IsWindowVisible() const
static Bitmap * FromFile(const WCHAR *filename, BOOL useEmbeddedColorManagement)
VOID OnCommand(WPARAM wParam, LPARAM lParam)
HWND Create(HWND hwndParent)
VOID ShowAppInfo(CAppInfo *Info)
BOOL ProcessWindowMessage(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT &theResult, DWORD dwMapId)
VOID OnLink(ENLINK *Link)
void SetWelcomeText(bool bAppwiz)
CAppScrnshotPreview * ScrnshotPrev
static ATL::CWndClassInfo & GetWndClassInfo()
virtual BOOL RetrieveIcon(CStringW &Path) const =0
VOID InsertTextWithString(UINT StringID, const CStringW &Text, DWORD TextFlags)
VOID LoadAndInsertText(UINT uStringID, const CStringW &szText, DWORD TextFlags)
float GetLoadingDotWidth(int width, int height)
CAppScrnshotPreview(const CStringW &BasePath)
VOID PreviousDisplayCleanup()
VOID SetStatus(SCRNSHOT_STATUS Status)
SCRNSHOT_STATUS ScrnshotPrevStauts
BOOL DisplayFile(LPCWSTR lpszFileName)
VOID PaintOnDC(HDC hdc, int width, int height, BOOL bDrawBkgnd)
BOOL ProcessWindowMessage(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lParam, LRESULT &theResult, DWORD dwMapId)
int LoadingAnimationFrame
HWND Create(HWND hParent)
float GetFrameDotShift(int Frame, int width, int height)
BOOL DisplayImage(LPCWSTR lpszLocation)
static ATL::CWndClassInfo & GetWndClassInfo()
int GetRequestedWidth(int Height)
PVOID GetFocusedItemData()
VOID ItemGetFocus(LPVOID CallbackParam)
APPLICATION_VIEW_TYPE ApplicationViewType
HWND Create(HWND hwndParent)
BOOL CreateAppInfoDisplay()
VOID OnCommand(WPARAM wParam, LPARAM lParam)
static ATL::CWndClassInfo & GetWndClassInfo()
VOID GetRestoreListSelectionData(RESTORELISTSELECTION &Restore)
CUiWindow< CComboBox > * m_ComboBox
VOID RestoreListSelection(const RESTORELISTSELECTION &Restore)
CUiWindow< CSearchBar > * m_SearchBar
BOOL AddApplication(CAppInfo *InstAppInfo, BOOL InitialCheckState)
BOOL ProcessWindowMessage(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT &theResult, DWORD dwMapId)
BOOL SetDisplayAppType(APPLICATION_VIEW_TYPE AppType)
CApplicationView(CMainWindow *MainWindow)
CMainWindow * m_MainWindow
CAppInfoDisplay * m_AppsInfo
void SetFocusOnSearchBar()
VOID OnSize(HWND hwnd, WPARAM wParam, LPARAM lParam)
CUiSplitPanel * m_HSplitter
void SetRedraw(BOOL bRedraw)
VOID AppendTabOrderWindow(int Direction, ATL::CSimpleArray< HWND > &TabOrderList)
VOID SetWatermark(const CStringW &Text)
CAppsListView * m_ListView
VOID ItemCheckStateChanged(BOOL bChecked, LPVOID CallbackParam)
INT AddItem(INT ItemIndex, INT IconIndex, LPCWSTR lpText, LPARAM lParam)
void DeleteColumn(INT Index)
VOID ColumnClick(LPNMLISTVIEW pnmv)
BOOL SetViewMode(DWORD ViewMode)
void ShowCheckboxes(bool bShow)
VOID ItemCheckStateNotify(int iItem, BOOL bCheck)
HIMAGELIST m_hImageListView
HIMAGELIST GetImageList(int iImageList)
BOOL SetDisplayAppType(APPLICATION_VIEW_TYPE AppType)
APPLICATION_VIEW_TYPE ApplicationViewType
LRESULT OnEraseBackground(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
PVOID GetFocusedItemData()
HWND Create(HWND hwndParent)
BOOL GetCheckState(INT item)
VOID SetWatermark(const CStringW &Text)
VOID SetCheckState(INT item, BOOL fCheck)
LRESULT OnAsyncIcon(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL &bHandled)
BOOL AddColumn(INT Index, CStringW &Text, INT Width, INT Format)
BOOL AddApplication(CAppInfo *AppInfo, BOOL InitialCheckState)
static INT CALLBACK s_CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
INT CompareFunc(LPARAM lParam1, LPARAM lParam2, INT iSubItem)
const int m_DefaultSelectType
HWND Create(HWND hwndParent)
const UINT m_TypeStringID[3]
HWND Create(HWND hWndParent, _U_RECT rect, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, _U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
void UpdateMaxButtonsWidth()
DWORD GetMaxButtonsWidth() const
VOID OnGetDispInfo(LPTOOLTIPTEXT lpttt)
HWND Create(HWND hwndParent)
const INT m_iToolbarHeight
void ShowButtonCaption(bool bShow)
VOID AddImageToImageList(HIMAGELIST hImageList, UINT ImageIndex)
HIMAGELIST InitImageList()
BOOL SearchTextChanged(CStringW &SearchText)
BOOL InstallApplication(CAppInfo *Info)
VOID ItemCheckStateChanged(BOOL bChecked, LPVOID CallbackParam)
HWND Create(HWND hwndParent)
VOID InsertText(LPCWSTR lpszText, DWORD dwEffects)
VOID SetText(LPCWSTR lpszText, DWORD dwEffects)
HWND Create(HWND hwndParent)
VOID SetText(LPCWSTR lpszText)
CUiAlignment m_HorizontalAlignment
CUiAlignment m_VerticalAlignment
CUiCollection & Children()
virtual DWORD_PTR CountSizableChildren()
virtual HDWP OnParentSize(RECT parentRect, HDWP hDwp)
HWND Create(HWND hwndParent)
VOID GetWindowTextW(CStringW &szText)
virtual VOID AppendTabOrderWindow(int Direction, ATL::CSimpleArray< HWND > &TabOrderList)
virtual HDWP OnParentSize(RECT parentRect, HDWP hDwp)
virtual DWORD_PTR CountSizableChildren()
Status FillEllipse(const Brush *brush, const Rect &rect)
Status SetSmoothingMode(SmoothingMode smoothingMode)
Status DrawImage(Image *image, const Point *destPoints, INT count)
int WINAPI DrawShadowText(HDC hdc, LPCWSTR pszText, UINT cch, RECT *prc, DWORD dwFlags, COLORREF crText, COLORREF crShadow, int ixOffset, int iyOffset)
BOOL WINAPI ImageList_Destroy(HIMAGELIST himl)
HIMAGELIST WINAPI ImageList_Create(INT cx, INT cy, UINT flags, INT cInitial, INT cGrow)
#define INVALID_HANDLE_VALUE
#define HeapFree(x, y, z)
#define FILE_ATTRIBUTE_NORMAL
BOOL WINAPI DeleteFileW(IN LPCWSTR lpFileName)
BOOL WINAPI CreateDirectoryW(IN LPCWSTR lpPathName, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
BOOL WINAPI WriteFile(IN HANDLE hFile, IN LPCVOID lpBuffer, IN DWORD nNumberOfBytesToWrite OPTIONAL, OUT LPDWORD lpNumberOfBytesWritten, IN LPOVERLAPPED lpOverlapped OPTIONAL)
HANDLE WINAPI DECLSPEC_HOTPATCH CreateThread(IN LPSECURITY_ATTRIBUTES lpThreadAttributes, IN DWORD dwStackSize, IN LPTHREAD_START_ROUTINE lpStartAddress, IN LPVOID lpParameter, IN DWORD dwCreationFlags, OUT LPDWORD lpThreadId)
static const WCHAR IconIndex[]
INT WINAPI GetMenuPosFromID(HMENU hMenu, UINT wID)
BOOL WINAPI PathIsDirectoryW(LPCWSTR lpszPath)
int WINAPI PathParseIconLocationW(LPWSTR lpszPath)
BOOL WINAPI PathIsURLW(LPCWSTR lpstrPath)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
static VOID 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)
UINT WINAPI GetTempFileNameW(IN LPCWSTR lpPathName, IN LPCWSTR lpPrefixString, IN UINT uUnique, OUT LPWSTR lpTempFileName)
_Inout_opt_ PUNICODE_STRING Extension
GLuint GLuint GLsizei count
GLint GLint GLsizei GLsizei height
GLdouble GLdouble GLdouble r
GLint GLint GLsizei width
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
UINT WINAPI ExtractIconExW(LPCWSTR lpszFile, INT nIconIndex, HICON *phiconLarge, HICON *phiconSmall, UINT nIcons)
_Check_return_ _CRTIMP double __cdecl floor(_In_ double x)
static float(__cdecl *square_half_float)(float x
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
static const TBBUTTON Buttons[]
static VOID SetImageList(HWND hwnd)
#define UNREFERENCED_PARAMETER(P)
#define Header_GetItem(hwndHD, i, phdi)
#define TB_SETEXTENDEDSTYLE
#define ListView_SetItemState(hwndLV, i, data, mask)
#define ListView_GetItemRect(hwnd, i, prc, code)
#define LVS_SHAREIMAGELISTS
#define ListView_Scroll(hwndLV, dx, dy)
#define Header_SetItem(hwndHD, i, phdi)
#define LVS_SHOWSELALWAYS
#define TBSTYLE_EX_MIXEDBUTTONS
#define ListView_GetNextItem(hwnd, i, flags)
#define LVS_EX_CHECKBOXES
#define LVS_EX_FULLROWSELECT
#define LVS_SORTASCENDING
#define ImageList_RemoveAll(himl)
#define TBSTYLE_EX_HIDECLIPPEDBUTTONS
#define ListView_GetItemCount(hwnd)
struct tagNMITEMACTIVATE * LPNMITEMACTIVATE
#define TB_GETEXTENDEDSTYLE
#define TOOLBARCLASSNAMEW
struct tagNMLISTVIEW * LPNMLISTVIEW
#define ListView_SetItem(hwnd, pitem)
#define ImageList_AddIcon(himl, hicon)
#define INDEXTOSTATEIMAGEMASK(i)
#define LVIS_STATEIMAGEMASK
#define ListView_GetItem(hwnd, pitem)
#define ListView_FindItem(hwnd, iStart, plvfi)
HINSTANCE WINAPI ShellExecuteW(HWND hwnd, LPCWSTR lpVerb, LPCWSTR lpFile, LPCWSTR lpParameters, LPCWSTR lpDirectory, INT nShowCmd)
WCHAR Location[ANYSIZE_ARRAY]
static CAsyncLoadIcon * Queue(HWND hAppsList, CAppInfo &AppInfo, bool Parse)
base for all directory entries
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
_In_ HFONT _Out_ PUINT Height
static int Link(const char **args)
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_In_ WDFCOLLECTION _In_ ULONG Index
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
_Must_inspect_result_ _In_ WDFDEVICE _In_ PIRP _In_ WDFQUEUE Queue
WDF_EXTERN_C_START typedef _In_ WDFDEVICE _In_ WDFCONTEXT _In_ WDF_DMA_DIRECTION Direction
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesWritten
DWORD WINAPI GetLastError(void)
DWORD WINAPI GetCurrentThreadId(void)
DWORD WINAPI GetWindowThreadProcessId(HWND hWnd, PDWORD lpdwProcessId)
#define SubclassWindow(hwnd, lpfn)
#define SelectFont(hdc, hfont)
HGDIOBJ WINAPI GetStockObject(_In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
HDC WINAPI CreateCompatibleDC(_In_opt_ HDC hdc)
BOOL WINAPI PatBlt(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
HBITMAP WINAPI CreateCompatibleBitmap(_In_ HDC hdc, _In_ INT cx, _In_ INT cy)
BOOL WINAPI DeleteDC(_In_ HDC)
#define INTERNET_OPEN_TYPE_PRECONFIG
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
DWORD WINAPI GetSysColor(_In_ int)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
HBRUSH WINAPI GetSysColorBrush(_In_ int)
HANDLE WINAPI LoadImageW(_In_opt_ HINSTANCE hInst, _In_ LPCWSTR name, _In_ UINT type, _In_ int cx, _In_ int cy, _In_ UINT fuLoad)
#define SW_SHOWNOACTIVATE
BOOL WINAPI DeleteMenu(_In_ HMENU, _In_ UINT, _In_ UINT)
BOOL WINAPI EndDeferWindowPos(_In_ HDWP)
#define WM_SYSCOLORCHANGE
HCURSOR WINAPI LoadCursorW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
int WINAPI MessageBoxW(_In_opt_ HWND hWnd, _In_opt_ LPCWSTR lpText, _In_opt_ LPCWSTR lpCaption, _In_ UINT uType)
BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
HMENU WINAPI GetSubMenu(_In_ HMENU, _In_ int)
HWND WINAPI CreateWindowExW(_In_ DWORD dwExStyle, _In_opt_ LPCWSTR lpClassName, _In_opt_ LPCWSTR lpWindowName, _In_ DWORD dwStyle, _In_ int X, _In_ int Y, _In_ int nWidth, _In_ int nHeight, _In_opt_ HWND hWndParent, _In_opt_ HMENU hMenu, _In_opt_ HINSTANCE hInstance, _In_opt_ LPVOID lpParam)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
BOOL WINAPI DrawIconEx(_In_ HDC, _In_ int, _In_ int, _In_ HICON, _In_ int, _In_ int, _In_ UINT, _In_opt_ HBRUSH, _In_ UINT)
BOOL WINAPI UpdateWindow(_In_ HWND)
struct tagNMHDR * LPNMHDR
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
BOOL WINAPI GetMenuItemInfoW(_In_ HMENU, _In_ UINT, _In_ BOOL, _Inout_ LPMENUITEMINFOW)
HDWP WINAPI DeferWindowPos(_In_ HDWP, _In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
#define MAKEINTRESOURCEW(i)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)
BOOL WINAPI EnableMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
int WINAPI GetSystemMetrics(_In_ int)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HMENU WINAPI GetMenu(_In_ HWND)
HDWP WINAPI BeginDeferWindowPos(_In_ int)
BOOL WINAPI DestroyIcon(_In_ HICON)