68#define NO_SHLWAPI_STREAM
88 0x5555, 0xaaaa, 0x5555, 0xaaaa,
89 0x5555, 0xaaaa, 0x5555, 0xaaaa
93 'C',
'C',
'3',
'2',
'S',
'u',
'b',
'c',
'l',
'a',
's',
's',
'I',
'n',
'f',
'o',0
100#define NAME L"microsoft.windows.common-controls"
101#define VERSION_V5 L"5.82.2600.2982"
102#define VERSION L"6.0.2600.2982"
103#define PUBLIC_KEY L"6595b64144ccf1df"
107#elif defined __x86_64__
114static const WCHAR manifest_filename_v5[] =
ARCH L"_" NAME L"_" PUBLIC_KEY
L"_" VERSION_V5
L"_none_deadbeef.manifest";
148 ACTCTXW
ActCtx = {
sizeof(ACTCTX)};
150 pwstrSource = GetManifestPath(
FALSE, bV6);
153 ERR(
"GetManifestPath failed! bV6=%d\n", bV6);
156 ActCtx.lpSource = pwstrSource;
160 ERR(
"CreateActCtxW failed! bV6=%d\n", bV6);
164static void RegisterControls(
BOOL bV6)
200 TOOLBARv6_Register();
204static void UnregisterControls(
BOOL bV6)
235 COMBOLBOX_Unregister ();
237 LISTBOX_Unregister ();
238 STATIC_Unregister ();
240 TOOLBARv6_Unregister ();
245static void InitializeClasses()
247 HANDLE hActCtx5, hActCtx6;
253 hActCtx5 = CreateComctl32ActCtx(
FALSE);
255 RegisterControls(
FALSE);
258 hActCtx6 = CreateComctl32ActCtx(
TRUE);
262 RegisterControls(
TRUE);
270static void UninitializeClasses()
272 HANDLE hActCtx5, hActCtx6;
276 hActCtx5 = CreateComctl32ActCtx(
FALSE);
278 UnregisterControls(
FALSE);
281 hActCtx6 = CreateComctl32ActCtx(
TRUE);
286 UnregisterControls(
TRUE);
307#define VERSION "6.0.2600.2982!"
308 static const char *classes[] =
433 UninitializeClasses();
490 TRACE(
"WM_MENUSELECT wParam=0x%lX lParam=0x%lX\n",
495 TRACE(
"menu was closed!\n");
501 uMenuID = *(lpwIDs+1);
504 TRACE(
"uMenuID = %u\n", uMenuID);
520 TRACE(
"WM_COMMAND wParam=0x%lX lParam=0x%lX\n",
526 WARN(
"We don't care about the WM_COMMAND\n");
530 FIXME(
"Invalid Message 0x%x!\n", uMsg);
576 if (!(lpInfo[0]) || !(lpInfo[1]))
580 lpMenuId = &lpInfo[2];
581 while (*lpMenuId !=
uFlags)
635 TRACE(
"(%p %p %p)\n",
636 hwnd, lpRect, lpInfo);
648 TRACE(
"control id 0x%x\n", *lpRun);
700 FIXME(
"Unsupported RTL style!\n");
938 INT iNumButtons,
INT dxButton,
INT dyButton,
957 if (dxBitmap == 0 || dyBitmap == 0)
958 dxBitmap = dyBitmap = 16;
966 if (dxButton != 0 && dyButton != 0)
973 tbab.
hInst = hBMInst;
1014 INT i, iMaps, nWidth, nHeight;
1020 {{0x000000, 0}, {0x808080, 0}, {0xC0C0C0, 0}, {0xFFFFFF, 0}};
1025 sysColorMap = lpColorMap;
1033 sysColorMap = internalColorMap;
1043 if (lpBitmap ==
NULL)
1049 nColorTableSize = (1 << lpBitmap->
biBitCount);
1051 nColorTableSize = 0;
1057 if (lpBitmapInfo ==
NULL)
1064 for (
i = 0;
i < iMaps;
i++) {
1066 pColorTable[
iColor].rgbGreen,
1067 pColorTable[
iColor].rgbBlue);
1068 if ( cRef == sysColorMap[
i].
from) {
1070 if (
wFlags & CBS_MASKED) {
1072 pColorTable[
iColor] =
RGB(255, 255, 255);
1083 nWidth = lpBitmapInfo->
biWidth;
1134 hBMInst, wBMID, lpButtons,
1158 WARN(
"wrong DLLVERSIONINFO size from app\n");
1167 TRACE(
"%u.%u.%u.%u\n",
1290 ERR (
"Failed to allocate our Subclassing stack\n");
1308 if ((
proc->id == uIDSubclass) &&
1319 ERR (
"Failed to allocate subclass entry in stack\n");
1331 proc->id = uIDSubclass;
1370 if ((
proc->id == uID) &&
1372 *pdwRef =
proc->ref;
1413 if ((
proc->id == uID) &&
1432 if (!
stack->SubclassProcs && !
stack->running) {
1433 TRACE(
"Last Subclass removed, cleaning up\n");
1462 ERR (
"Our sub classing stack got erased for %p!! Nothing we can do\n",
hWnd);
1474 if (!
stack->SubclassProcs && !
stack->running) {
1475 TRACE(
"Last Subclass removed, cleaning up\n");
1513 ERR (
"Our sub classing stack got erased for %p!! Nothing we can do\n",
hWnd);
1519 if (!
stack->stackpos) {
1637 static const DWORD adwPolyPoints[] = {4,4,4};
1638 LONG lCentre = (bHorizontal ?
1641 LONG l1 = (bHorizontal ? lpRect->
left : lpRect->
top);
1643 const POINT aptInsertMark[] =
1649 {lCentre + 1, l1 + 2},
1653 {lCentre + 1, l1 - 1},
1654 {lCentre + 1, l2 - 2},
1657 {lCentre - 2, l2 - 1},
1658 {lCentre + 3, l2 - 1},
1659 {lCentre + 1, l2 - 3},
1690 HBITMAP hNewDCBitmap, hOldDCBitmap;
1696 cxNew = (cxMinWidth >
bmp.bmWidth ? cxMinWidth :
bmp.bmWidth);
1697 cyNew = (cyMinHeight >
bmp.bmHeight ? cyMinHeight :
bmp.bmHeight);
1698 if (cxNew ==
bmp.bmWidth && cyNew ==
bmp.bmHeight)
1710 if (
bmp.bmWidth < cxMinWidth)
1712 if (
bmp.bmHeight < cyMinHeight)
1714 if (
bmp.bmWidth < cxMinWidth &&
bmp.bmHeight < cyMinHeight)
1724 *pBitmap = hNewBitmap;
1740#define OCM__BASE (WM_USER+0x1c00)
1798 FIXME(
"(%p, %p): stub\n", phicon1, phicon2);
1822 for(; 0 <= ichCurrent && ichCurrent <
cch; ichCurrent +=
dir)
1823 if (
IsDelimiter(lpch[ichCurrent]))
return ichCurrent;
1876 ERR(
"CreateDIBSection failed\n");
1884 ERR(
"CreateCompatibleDC failed\n");
1911 for (
x2 =
x - 4 + 1;
x2 <=
x; ++
x2)
1931 pDest[0] =
GetBValue(crShadow) * pDest[3] / 255;
1932 pDest[1] =
GetGValue(crShadow) * pDest[3] / 255;
1933 pDest[2] =
GetRValue(crShadow) * pDest[3] / 255;
1945 GdiAlphaBlend(
hdc,
prc->
left + ixOffset,
prc->
top + iyOffset, bi.
bmiHeader.
biWidth, bi.
bmiHeader.
biHeight,
hdcMem, 0, 0, bi.
bmiHeader.
biWidth, bi.
bmiHeader.
biHeight, bf);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
PVOID Alloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
void COMBOEX_Unregister(void)
void COMBOEX_Register(void)
void REBAR_Register(void) DECLSPEC_HIDDEN
void TOOLTIPS_Unregister(void) DECLSPEC_HIDDEN
void EDIT_Register(void) DECLSPEC_HIDDEN
void PAGER_Register(void) DECLSPEC_HIDDEN
void HOTKEY_Unregister(void) DECLSPEC_HIDDEN
void HEADER_Register(void) DECLSPEC_HIDDEN
void IPADDRESS_Register(void) DECLSPEC_HIDDEN
void STATUS_Unregister(void) DECLSPEC_HIDDEN
void FLATSB_Register(void) DECLSPEC_HIDDEN
void TREEVIEW_Unregister(void) DECLSPEC_HIDDEN
void SYSLINK_Register(void) DECLSPEC_HIDDEN
void PROGRESS_Register(void) DECLSPEC_HIDDEN
void STATIC_Register(void) DECLSPEC_HIDDEN
void THEMING_Uninitialize(void) DECLSPEC_HIDDEN
void SYSLINK_Unregister(void) DECLSPEC_HIDDEN
void TOOLBAR_Unregister(void) DECLSPEC_HIDDEN
void REBAR_Unregister(void) DECLSPEC_HIDDEN
void TAB_Register(void) DECLSPEC_HIDDEN
void LISTBOX_Register(void) DECLSPEC_HIDDEN
void MONTHCAL_Register(void) DECLSPEC_HIDDEN
void HOTKEY_Register(void) DECLSPEC_HIDDEN
void TOOLTIPS_Register(void) DECLSPEC_HIDDEN
void STATUS_Register(void) DECLSPEC_HIDDEN
void UPDOWN_Register(void) DECLSPEC_HIDDEN
void HEADER_Unregister(void) DECLSPEC_HIDDEN
void PROGRESS_Unregister(void) DECLSPEC_HIDDEN
void UPDOWN_Unregister(void) DECLSPEC_HIDDEN
void THEMING_Initialize(void) DECLSPEC_HIDDEN
void TRACKBAR_Register(void) DECLSPEC_HIDDEN
void FLATSB_Unregister(void) DECLSPEC_HIDDEN
void DATETIME_Unregister(void) DECLSPEC_HIDDEN
void IPADDRESS_Unregister(void) DECLSPEC_HIDDEN
#define COMCTL32_VERSION_MINOR
void DATETIME_Register(void) DECLSPEC_HIDDEN
void TOOLBAR_Register(void) DECLSPEC_HIDDEN
void MONTHCAL_Unregister(void) DECLSPEC_HIDDEN
void COMBOLBOX_Register(void) DECLSPEC_HIDDEN
void LISTVIEW_Unregister(void) DECLSPEC_HIDDEN
void PAGER_Unregister(void) DECLSPEC_HIDDEN
void NATIVEFONT_Unregister(void) DECLSPEC_HIDDEN
void NATIVEFONT_Register(void) DECLSPEC_HIDDEN
void LISTVIEW_Register(void) DECLSPEC_HIDDEN
void TREEVIEW_Register(void) DECLSPEC_HIDDEN
void TAB_Unregister(void) DECLSPEC_HIDDEN
void TRACKBAR_Unregister(void) DECLSPEC_HIDDEN
static const WORD wPattern55AA[]
HRESULT WINAPI LoadIconWithScaleDown(HINSTANCE hinst, const WCHAR *name, int cx, int cy, HICON *icon)
VOID WINAPI GetEffectiveClientRect(HWND hwnd, LPRECT lpRect, const INT *lpInfo)
COMCTL32_SysColor comctl32_color
static LANGID COMCTL32_uiLang
BOOL WINAPI InitCommonControlsEx(const INITCOMMONCONTROLSEX *lpInitCtrls)
HWND COMCTL32_CreateToolTip(HWND hwndOwner)
BOOL WINAPI _TrackMouseEvent(TRACKMOUSEEVENT *ptme)
BOOL WINAPI ShowHideMenuCtl(HWND hwnd, UINT_PTR uFlags, LPINT lpInfo)
BOOL WINAPI GetWindowSubclass(HWND hWnd, SUBCLASSPROC pfnSubclass, UINT_PTR uID, DWORD_PTR *pdwRef)
HRESULT WINAPI LoadIconMetric(HINSTANCE hinst, const WCHAR *name, int size, HICON *icon)
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
void WINAPI DrawStatusTextA(HDC hdc, LPCRECT lprc, LPCSTR text, UINT style)
VOID WINAPI InitCommonControls(void)
void COMCTL32_DrawInsertMark(HDC hDC, const RECT *lpRect, COLORREF clrInsertMark, BOOL bHorizontal)
BOOL WINAPI SetWindowSubclass(HWND hWnd, SUBCLASSPROC pfnSubclass, UINT_PTR uIDSubclass, DWORD_PTR dwRef)
VOID WINAPI MenuHelp(UINT uMsg, WPARAM wParam, LPARAM lParam, HMENU hMainMenu, HINSTANCE hInst, HWND hwndStatus, UINT *lpwIDs)
static LPWSTR COMCTL32_wSubclass
HWND WINAPI CreateStatusWindowW(LONG style, LPCWSTR text, HWND parent, UINT wid)
HRESULT WINAPI DllInstall(BOOL bInstall, LPCWSTR cmdline)
void COMCTL32_EnsureBitmapSize(HBITMAP *pBitmap, int cxMinWidth, int cyMinHeight, COLORREF crBackground)
LRESULT WINAPI SetPathWordBreakProc(HWND hwnd, BOOL bSet)
HBITMAP WINAPI CreateMappedBitmap(HINSTANCE hInstance, INT_PTR idBitmap, UINT wFlags, LPCOLORMAP lpColorMap, INT iNumMaps)
void COMCTL32_GetFontMetrics(HFONT hFont, TEXTMETRICW *ptm)
static BOOL IsDelimiter(WCHAR c)
int WINAPI DrawShadowText(HDC hdc, LPCWSTR pszText, UINT cch, RECT *prc, DWORD dwFlags, COLORREF crText, COLORREF crShadow, int ixOffset, int iyOffset)
VOID WINAPI InitMUILanguage(LANGID uiLang)
BOOL WINAPI RemoveWindowSubclass(HWND hWnd, SUBCLASSPROC pfnSubclass, UINT_PTR uID)
static HBITMAP COMCTL32_hPattern55AABitmap
HWND WINAPI CreateUpDownControl(DWORD style, INT x, INT y, INT cx, INT cy, HWND parent, INT id, HINSTANCE inst, HWND buddy, INT maxVal, INT minVal, INT curVal)
HWND WINAPI CreateToolbar(HWND hwnd, DWORD style, UINT wID, INT nBitmaps, HINSTANCE hBMInst, UINT wBMID, LPCTBBUTTON lpButtons, INT iNumButtons)
BOOL COMCTL32_IsReflectedMessage(UINT uMsg)
VOID COMCTL32_RefreshSysColors(void)
HWND WINAPI CreateToolbarEx(HWND hwnd, DWORD style, UINT wID, INT nBitmaps, HINSTANCE hBMInst, UINT_PTR wBMID, LPCTBBUTTON lpButtons, INT iNumButtons, INT dxButton, INT dyButton, INT dxBitmap, INT dyBitmap, UINT uStructSize)
static LRESULT WINAPI COMCTL32_SubclassProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
void WINAPI DrawStatusTextW(HDC hdc, LPCRECT lprc, LPCWSTR text, UINT style)
HRESULT WINAPI DllGetVersion(DLLVERSIONINFO *pdvi)
static int CALLBACK PathWordBreakProc(LPCWSTR lpch, int ichCurrent, int cch, int code)
HWND WINAPI CreateStatusWindowA(LONG style, LPCSTR text, HWND parent, UINT wid)
static const WCHAR strCC32SubclassInfo[]
static void unregister_versioned_classes(void)
HBRUSH COMCTL32_hPattern55AABrush
LRESULT WINAPI DefSubclassProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL WINAPI MirrorIcon(HICON *phicon1, HICON *phicon2)
void ANIMATE_Register(void)
void ANIMATE_Unregister(void)
void COMBO_Register(void)
#define DLL_PROCESS_ATTACH
#define DLL_PROCESS_DETACH
#define INVALID_HANDLE_VALUE
#define HeapFree(x, y, z)
#define MultiByteToWideChar
BOOL WINAPI DeactivateActCtx(IN DWORD dwFlags, IN ULONG_PTR ulCookie)
BOOL WINAPI ActivateActCtx(IN HANDLE hActCtx, OUT PULONG_PTR ulCookie)
ATOM WINAPI GlobalDeleteAtom(ATOM nAtom)
ATOM WINAPI GlobalAddAtomW(LPCWSTR lpString)
BOOL WINAPI CreateDirectoryW(IN LPCWSTR lpPathName, IN LPSECURITY_ATTRIBUTES lpSecurityAttributes)
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
UINT WINAPI GetWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
HANDLE WINAPI CreateActCtxW(PCACTCTXW pActCtx)
BOOL WINAPI FreeResource(HGLOBAL handle)
HRSRC WINAPI FindResourceW(HINSTANCE hModule, LPCWSTR name, LPCWSTR type)
LPVOID WINAPI LockResource(HGLOBAL handle)
HGLOBAL WINAPI LoadResource(HINSTANCE hModule, HRSRC hRsrc)
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)
int align(int length, int align)
GLint GLint GLsizei GLsizei GLsizei GLint border
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLdouble GLdouble GLdouble r
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
HGLOBAL NTAPI GlobalFree(HGLOBAL hMem)
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
_In_ PCWSTR _Out_ PVOID * ActCtx
static IN DWORD IN LPVOID lpvReserved
BOOL WINAPI GdiAlphaBlend(HDC hdcDst, int xDst, int yDst, int widthDst, int heightDst, HDC hdcSrc, int xSrc, int ySrc, int widthSrc, int heightSrc, BLENDFUNCTION blendFunction)
static const WCHAR textW[]
static DWORD DWORD void LPSTR DWORD cch
static DWORD *static HFONT(WINAPI *pCreateFontIndirectExA)(const ENUMLOGFONTEXDVA *)
static HANDLE ULONG_PTR dwData
static const struct access_res create[16]
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
unsigned __int3264 UINT_PTR
INT WINAPI DrawTextW(HDC hdc, LPCWSTR str, INT count, LPRECT rect, UINT flags)
LANGID WINAPI GetMUILanguage(void)
_Out_opt_ int _Out_opt_ int * cy
LRESULT(CALLBACK * SUBCLASSPROC)(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uIdSubclass, DWORD_PTR dwRefData)
#define TB_BUTTONSTRUCTSIZE
#define NM_TOOLTIPSCREATED
_In_ SUBCLASSPROC pfnSubclass
#define TOOLBARCLASSNAMEW
#define CCSIZEOF_STRUCT(structname, member)
STRSAFEAPI StringCchCatW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
COLORREF clrHighlightText
COLORREF clrActiveCaption
COLORREF clrHotTrackingColor
struct _SUBCLASSPROCS * next
BITMAPINFOHEADER bmiHeader
#define RtlMoveMemory(Destination, Source, Length)
HBITMAP WINAPI CreateDIBSection(HDC hDC, CONST BITMAPINFO *BitmapInfo, UINT Usage, VOID **Bits, HANDLE hSection, DWORD dwOffset)
DWORD WINAPI GetLastError(void)
*nSize LPSTR _Inout_ LPDWORD nSize
_In_ DWORD _Out_ _In_ WORD wFlags
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG x2
_In_ CLIPOBJ _In_ BRUSHOBJ _In_ LONG _In_ LONG _In_ LONG _In_ LONG y2
#define HRESULT_FROM_WIN32(x)
BOOL WINAPI GetTextMetricsW(_In_ HDC, _Out_ LPTEXTMETRICW)
int WINAPI GetObjectW(_In_ HANDLE h, _In_ int c, _Out_writes_bytes_opt_(c) LPVOID pv)
HBITMAP WINAPI CreateBitmap(_In_ INT cx, _In_ INT cy, _In_ UINT cPlanes, _In_ UINT cBitsPerPel, _In_opt_ const VOID *pvBits)
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
HGDIOBJ WINAPI GetCurrentObject(_In_ HDC, _In_ UINT)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
BOOL WINAPI GdiFlush(void)
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)
int WINAPI SetBkMode(_In_ HDC, _In_ int)
COLORREF WINAPI SetTextColor(_In_ HDC, _In_ COLORREF)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
BOOL WINAPI DeleteDC(_In_ HDC)
HPEN WINAPI CreatePen(_In_ int, _In_ int, _In_ COLORREF)
BOOL WINAPI PolyPolyline(_In_ HDC hdc, _In_ const POINT *apt, _In_reads_(csz) const DWORD *asz, _In_ DWORD csz)
int WINAPI StretchDIBits(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_ int, _In_opt_ const VOID *, _In_ const BITMAPINFO *, _In_ UINT, _In_ DWORD)
HBRUSH WINAPI CreatePatternBrush(_In_ HBITMAP)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
DWORD WINAPI GetSysColor(_In_ int)
#define SetWindowLongPtrA
BOOL WINAPI IsWindow(_In_opt_ HWND)
#define WM_CTLCOLORSTATIC
#define GetWindowLongPtrW
HANDLE WINAPI RemovePropW(_In_ HWND, _In_ LPCWSTR)
BOOL WINAPI UnregisterClassA(_In_ LPCSTR, HINSTANCE)
UINT WINAPI GetMenuState(_In_ HMENU, _In_ UINT, _In_ UINT)
#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k)
BOOL WINAPI GetWindowRect(_In_ HWND, _Out_ LPRECT)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
LONG WINAPI GetWindowLongW(_In_ HWND, _In_ int)
#define IS_INTRESOURCE(i)
#define COLOR_ACTIVECAPTION
HANDLE WINAPI LoadImageW(_In_opt_ HINSTANCE hInst, _In_ LPCWSTR name, _In_ UINT type, _In_ int cx, _In_ int cy, _In_ UINT fuLoad)
#define WM_CTLCOLORSCROLLBAR
BOOL WINAPI TrackMouseEvent(_Inout_ LPTRACKMOUSEEVENT)
int WINAPI MapWindowPoints(_In_opt_ HWND hWndFrom, _In_opt_ HWND hWndTo, _Inout_updates_(cPoints) LPPOINT lpPoints, _In_ UINT cPoints)
#define WM_CTLCOLORMSGBOX
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
DWORD WINAPI CheckMenuItem(_In_ HMENU, _In_ UINT, _In_ UINT)
BOOL WINAPI IsWindowUnicode(_In_ HWND)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
BOOL WINAPI DrawEdge(_In_ HDC, _Inout_ LPRECT, _In_ UINT, _In_ UINT)
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 SetPropW(_In_ HWND, _In_ LPCWSTR, _In_opt_ HANDLE)
#define EM_SETWORDBREAKPROC
#define COLOR_HIGHLIGHTTEXT
HDC WINAPI GetDC(_In_opt_ HWND)
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
HWND WINAPI GetParent(_In_ HWND)
HANDLE WINAPI GetPropW(_In_ HWND, _In_ LPCWSTR)
HWND WINAPI GetWindow(_In_ HWND, _In_ UINT)
_In_ int _Inout_ LPRECT lprc
#define WM_CTLCOLORLISTBOX
LRESULT(CALLBACK * WNDPROC)(HWND, UINT, WPARAM, LPARAM)
#define SetWindowLongPtrW
LRESULT WINAPI CallWindowProcW(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define COLOR_BTNHIGHLIGHT
int WINAPI GetSystemMetrics(_In_ int)
LRESULT WINAPI CallWindowProcA(_In_ WNDPROC, _In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI SetRect(_Out_ LPRECT, _In_ int, _In_ int, _In_ int, _In_ int)
BOOL WINAPI SubtractRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT)
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free