146 #if (_WIN32_WINNT >= 0x0600)
164 const RECT* rcTarget, BP_BUFFERFORMAT dwFormat,
165 BP_PAINTPARAMS* pPaintParams, BP_ANIMATIONPARAMS* pAnimationParams,
166 HDC* phdcFrom, HDC* phdcTo);
182 BP_BUFFERFORMAT dwFormat, BP_PAINTPARAMS* pPaintParams, HDC* phdc);
242 const RECT* prc, BYTE alpha);
288 int iPartId,
int iStateId,
const RECT* prc,
const RECT* prcClip);
303 int iPartId,
int iStateId,
const RECT* prc,
const DTBGOPTS* pOptions);
320 int iPartId,
int iStateId,
const RECT* prcDest, UINT uEdge,
321 UINT uFlags, RECT* prcContent);
337 int iPartId,
int iStateId,
const RECT* prc,
338 HIMAGELIST himl,
int iImageIndex);
355 #if (_WIN32_WINNT >= 0x0600)
369 DWORD dwFlags, RECT* prc);
388 int iPartId,
int iStateId,
const WCHAR* pszText,
int iCharCount,
389 DWORD dwFlags, DWORD dwFlags2,
const RECT* prc);
391 #if (_WIN32_WINNT >= 0x0600)
410 int iPartId,
int iStateId,
const WCHAR* pszText,
int iCharCount,
411 DWORD dwFlags, RECT* prc,
const DTTOPTS* pOptions);
424 #if (_WIN32_WINNT >= 0x0600)
475 RGBQUAD** ppbBuffer,
int* pcxRow);
526 WCHAR* pszThemeFilename,
int cchMaxFilenameChars,
527 WCHAR* pszColorBuff,
int cchMaxColorChars,
528 WCHAR* pszSizeBuff,
int cchMaxSizeChars);
551 int iPartId,
int iStateId,
const RECT* prcBounding, RECT* prcContent);
566 int iPartId,
int iStateId,
const RECT* prcContent, RECT* prcExtent);
581 int iPartId,
int iStateId,
const RECT* prc, HRGN* phRegion);
583 #if (_WIN32_WINNT >= 0x0600)
597 int iPropId, ULONG uFlags, HBITMAP* phBitmap);
612 int iPropId, BOOL* pfValue);
626 int iPropId, COLORREF* pColor);
639 const WCHAR* pszPropName, WCHAR* pszValueBuf,
int cchMaxValChars);
653 int iPropId,
int* piValue);
668 int iPropId, WCHAR* pszThemeFilename,
int cchMaxBuffChars);
683 int iPropId, LOGFONTW* pLogFont);
697 int iPropId,
int* piValue);
711 int iPropId, INTLIST* pIntList);
727 int iStateId,
int iPropId, RECT* prc, MARGINS* pMargins);
742 int iStateId,
int iPropId,
int* piValue);
758 int iStateId,
const RECT* prc,
enum THEMESIZE eSize, SIZE* psz);
772 int iPropId, POINT* pPoint);
786 int iStateId,
int iPropId,
enum PROPERTYORIGIN* pOrigin);
800 int iPropId, RECT* prc);
802 #if (_WIN32_WINNT >= 0x0600)
817 int iPropId,
void** ppvStream, DWORD* pcbStream, HINSTANCE hInst);
833 int iPropId, WCHAR* pszBuff,
int cchMaxBuffChars);
916 WCHAR* pszBuff,
int cchMaxBuffChars);
934 int iStateId,
const WCHAR* pszText,
int cchTextMax, DWORD dwFlags,
935 const RECT* prcBounding, RECT* prcExtent);
949 int iStateId, TEXTMETRIC* pTextMetric);
951 #if (_WIN32_WINNT >= 0x0600)
967 int iStateIdFrom,
int iStateIdTo,
int iPropId, DWORD* pdwDuration);
995 int iStateId, DWORD dwOptions,
const RECT* prc, HRGN hrgn,
996 POINT ptTest, WORD* pwHitTestCode);
1006 #if (_WIN32_WINNT >= 0x0600)
1037 int iPartId,
int iStateId);
1097 const WCHAR* pszSubIdList);
1099 #if (_WIN32_WINNT >= 0x0600)
1113 enum WINDOWTHEMEATTRIBUTETYPE eAttribute,
void* pvAttribute,
1128 LONG lTotalOverpanOffsetY, BOOL fInInertia);
#define MCTRL_API
Definition: _defs.h:46
HRESULT mcBufferedPaintInit(void)
HRESULT mcGetThemeDocumentationProperty(const WCHAR *pszThemeName, const WCHAR *pszPropName, WCHAR *pszValueBuf, int cchMaxValChars)
HRESULT mcDrawThemeParentBackgroundEx(HWND hwnd, HDC hdc, DWORD dwFlags, RECT *prc)
void mcSetThemeAppProperties(DWORD dwFlags)
HRESULT mcBufferedPaintStopAllAnimations(HWND hwnd)
HRESULT mcBufferedPaintClear(HPAINTBUFFER hBufferedPaint, const RECT *prc)
HRESULT mcGetThemeBackgroundContentRect(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *prcBounding, RECT *prcContent)
BOOL mcIsThemeBackgroundPartiallyTransparent(HTHEME hTheme, int iPartId, int iStateId)
HTHEME mcOpenThemeData(HWND hwnd, const WCHAR *pszClassList)
HRESULT mcDrawThemeParentBackground(HWND hwnd, HDC hdc, RECT *prc)
COLORREF mcGetThemeSysColor(HTHEME hTheme, int iColorId)
BOOL mcIsCompositionActive(void)
HDC mcGetBufferedPaintDC(HPAINTBUFFER hBufferedPaint)
HRESULT mcGetThemePartSize(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *prc, enum THEMESIZE eSize, SIZE *psz)
HTHEME mcGetWindowTheme(HWND hwnd)
HRESULT mcEnableThemeDialogTexture(HWND hwnd, DWORD dwFlags)
HPAINTBUFFER mcBeginBufferedPaint(HDC hdcTarget, const RECT *prcTarget, BP_BUFFERFORMAT dwFormat, BP_PAINTPARAMS *pPaintParams, HDC *phdc)
BOOL mcIsThemePartDefined(HTHEME hTheme, int iPartId, int iStateId)
HRESULT mcGetThemeEnumValue(HTHEME hTheme, int iPartId, int iStateId, int iPropId, int *piValue)
HRESULT mcSetWindowThemeAttribute(HWND hwnd, enum WINDOWTHEMEATTRIBUTETYPE eAttribute, void *pvAttribute, DWORD cbAttribute)
HRESULT mcGetThemeRect(HTHEME hTheme, int iPartId, int iStateId, int iPropId, RECT *prc)
HRESULT mcDrawThemeText(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const WCHAR *pszText, int iCharCount, DWORD dwFlags, DWORD dwFlags2, const RECT *prc)
HBRUSH mcGetThemeSysColorBrush(HTHEME hTheme, int iColorId)
HRESULT mcGetThemeFilename(HTHEME hTheme, int iPartId, int iStateId, int iPropId, WCHAR *pszThemeFilename, int cchMaxBuffChars)
BOOL mcTheme_Initialize(void)
HRESULT mcGetThemeFont(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, LOGFONTW *pLogFont)
HRESULT mcGetThemeSysInt(HTHEME hTheme, int iIntId, int *piValue)
HRESULT mcSetWindowTheme(HWND hwnd, const WCHAR *pszSubAppName, const WCHAR *pszSubIdList)
HRESULT mcDrawThemeTextEx(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const WCHAR *pszText, int iCharCount, DWORD dwFlags, RECT *prc, const DTTOPTS *pOptions)
HRESULT mcGetThemeString(HTHEME hTheme, int iPartId, int iStateId, int iPropId, WCHAR *pszBuff, int cchMaxBuffChars)
BOOL mcIsThemeDialogTextureEnabled(HWND hwnd)
HRESULT mcGetThemeColor(HTHEME hTheme, int iPartId, int iStateId, int iPropId, COLORREF *pColor)
HRESULT mcDrawThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *prc, const RECT *prcClip)
HRESULT mcGetThemeBitmap(HTHEME hTheme, int iPartId, int iStateId, int iPropId, ULONG uFlags, HBITMAP *phBitmap)
HDC mcGetBufferedPaintTargetDC(HPAINTBUFFER hBufferedPaint)
HRESULT mcGetThemeInt(HTHEME hTheme, int iPartId, int iStateId, int iPropId, int *piValue)
HRESULT mcGetThemeTransitionDuration(HTHEME hTheme, int iPartId, int iStateIdFrom, int iStateIdTo, int iPropId, DWORD *pdwDuration)
HANIMATIONBUFFER mcBeginBufferedAnimation(HWND hwnd, HDC hdcTarget, const RECT *rcTarget, BP_BUFFERFORMAT dwFormat, BP_PAINTPARAMS *pPaintParams, BP_ANIMATIONPARAMS *pAnimationParams, HDC *phdcFrom, HDC *phdcTo)
HRESULT mcGetThemeSysString(HTHEME hTheme, int iStringId, WCHAR *pszBuff, int cchMaxBuffChars)
HRESULT mcGetThemeIntList(HTHEME hTheme, int iPartId, int iStateId, int iPropId, INTLIST *pIntList)
HRESULT mcGetBufferedPaintBits(HPAINTBUFFER hBufferedPaint, RGBQUAD **ppbBuffer, int *pcxRow)
HRESULT mcEndBufferedPaint(HPAINTBUFFER hBufferedPaint, BOOL fUpdateTarget)
HRESULT mcDrawThemeEdge(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *prcDest, UINT uEdge, UINT uFlags, RECT *prcContent)
HRESULT mcGetThemeBackgroundRegion(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *prc, HRGN *phRegion)
HRESULT mcGetCurrentThemeName(WCHAR *pszThemeFilename, int cchMaxFilenameChars, WCHAR *pszColorBuff, int cchMaxColorChars, WCHAR *pszSizeBuff, int cchMaxSizeChars)
DWORD mcGetThemeAppProperties(void)
HRESULT mcDrawThemeBackgroundEx(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *prc, const DTBGOPTS *pOptions)
BOOL mcGetThemeSysBool(HTHEME hTheme, int iBoolId)
HRESULT mcBufferedPaintUnInit(void)
int mcGetThemeSysSize(HTHEME hTheme, int iSizeId)
BOOL mcIsThemeActive(void)
HRESULT mcGetThemeMargins(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, RECT *prc, MARGINS *pMargins)
HRESULT mcGetBufferedPaintTargetRect(HPAINTBUFFER hBufferedPaint, RECT *prc)
HRESULT mcGetThemeTextMetrics(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, TEXTMETRIC *pTextMetric)
HRESULT mcDrawThemeIcon(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *prc, HIMAGELIST himl, int iImageIndex)
HRESULT mcGetThemeTextExtent(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const WCHAR *pszText, int cchTextMax, DWORD dwFlags, const RECT *prcBounding, RECT *prcExtent)
HRESULT mcGetThemeBackgroundExtent(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, const RECT *prcContent, RECT *prcExtent)
HRESULT mcGetThemeStream(HTHEME hTheme, int iPartId, int iStateId, int iPropId, void **ppvStream, DWORD *pcbStream, HINSTANCE hInst)
HRESULT mcGetThemePosition(HTHEME hTheme, int iPartId, int iStateId, int iPropId, POINT *pPoint)
HRESULT mcCloseThemeData(HTHEME hTheme)
HRESULT mcHitTestThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, DWORD dwOptions, const RECT *prc, HRGN hrgn, POINT ptTest, WORD *pwHitTestCode)
BOOL mcBufferedPaintRenderAnimation(HWND hwnd, HDC hdcTarget)
HRESULT mcGetThemeMetric(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, int *piValue)
BOOL mcBeginPanningFeedback(HWND hwnd)
HRESULT mcGetThemeBool(HTHEME hTheme, int iPartId, int iStateId, int iPropId, BOOL *pfValue)
BOOL mcUpdatePanningFeedback(HWND hwnd, LONG lTotalOverpanOffsetX, LONG lTotalOverpanOffsetY, BOOL fInInertia)
HRESULT mcGetThemePropertyOrigin(HTHEME hTheme, int iPartId, int iStateId, int iPropId, enum PROPERTYORIGIN *pOrigin)
HRESULT mcEndBufferedAnimation(HANIMATIONBUFFER hbpAnimation, BOOL fUpdateTarget)
HRESULT mcBufferedPaintSetAlpha(HPAINTBUFFER hBufferedPaint, const RECT *prc, BYTE alpha)
void mcTheme_Terminate(void)
HTHEME mcOpenThemeDataEx(HWND hwnd, const WCHAR *pszClassList, DWORD dwFlags)
Common constants and types.
BOOL mcEndPanningFeedback(HWND hwnd, BOOL fAnimateBack)
HRESULT mcGetThemeSysFont(HTHEME hTheme, int iFontId, LOGFONTW *pLogFont)