コード例 #1
0
 public static extern HRESULT GetThemeMargins(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, [NativeTypeName("LPCRECT")] RECT *prc, MARGINS *pMargins);
コード例 #2
0
 public static extern HRESULT GetThemeTextExtent(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("LPCWSTR")] ushort *pszText, int cchCharCount, [NativeTypeName("DWORD")] uint dwTextFlags, [NativeTypeName("LPCRECT")] RECT *pBoundingRect, [NativeTypeName("LPRECT")] RECT *pExtentRect);
コード例 #3
0
 public static extern HRESULT HitTestThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("DWORD")] uint dwOptions, [NativeTypeName("LPCRECT")] RECT *pRect, HRGN hrgn, POINT ptTest, [NativeTypeName("WORD *")] ushort *pwHitTestCode);
コード例 #4
0
 public static extern HRESULT DrawThemeText(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("LPCWSTR")] ushort *pszText, int cchText, [NativeTypeName("DWORD")] uint dwTextFlags, [NativeTypeName("DWORD")] uint dwTextFlags2, [NativeTypeName("LPCRECT")] RECT *pRect);
コード例 #5
0
 public static extern HRESULT GetThemeBackgroundRegion(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("LPCRECT")] RECT *pRect, HRGN *pRegion);
コード例 #6
0
 public static extern HRESULT GetThemeTimingFunction(HTHEME hTheme, int iTimingFunctionId, TA_TIMINGFUNCTION *pTimingFunction, [NativeTypeName("DWORD")] uint cbSize, [NativeTypeName("DWORD *")] uint *pcbSizeOut);
コード例 #7
0
 public static extern HRESULT DrawThemeBackground(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("LPCRECT")] RECT *pRect, [NativeTypeName("LPCRECT")] RECT *pClipRect);
コード例 #8
0
 public static extern BOOL GetThemeSysBool(HTHEME hTheme, int iBoolId);
コード例 #9
0
 public static extern int GetThemeSysSize(HTHEME hTheme, int iSizeId);
コード例 #10
0
 public static extern COLORREF GetThemeSysColor(HTHEME hTheme, int iColorId);
コード例 #11
0
 public static extern HBRUSH GetThemeSysColorBrush(HTHEME hTheme, int iColorId);
コード例 #12
0
 public static extern HRESULT GetThemeFilename(HTHEME hTheme, int iPartId, int iStateId, int iPropId, [NativeTypeName("LPWSTR")] ushort *pszThemeFileName, int cchMaxBuffChars);
コード例 #13
0
 public static extern HRESULT GetThemePropertyOrigin(HTHEME hTheme, int iPartId, int iStateId, int iPropId, [NativeTypeName("enum PROPERTYORIGIN *")] PROPERTYORIGIN *pOrigin);
コード例 #14
0
 public static extern HRESULT GetThemeIntList(HTHEME hTheme, int iPartId, int iStateId, int iPropId, INTLIST *pIntList);
コード例 #15
0
 public static extern HRESULT GetThemeTransitionDuration(HTHEME hTheme, int iPartId, int iStateIdFrom, int iStateIdTo, int iPropId, [NativeTypeName("DWORD *")] uint *pdwDuration);
コード例 #16
0
 public static extern HRESULT GetThemeSysFont(HTHEME hTheme, int iFontId, LOGFONTW *plf);
コード例 #17
0
 public static extern HRESULT GetThemeAnimationTransform(HTHEME hTheme, int iStoryboardId, int iTargetId, [NativeTypeName("DWORD")] uint dwTransformIndex, TA_TRANSFORM *pTransform, [NativeTypeName("DWORD")] uint cbSize, [NativeTypeName("DWORD *")] uint *pcbSizeOut);
コード例 #18
0
 public static extern HRESULT GetThemeSysString(HTHEME hTheme, int iStringId, [NativeTypeName("LPWSTR")] ushort *pszStringBuff, int cchMaxStringChars);
コード例 #19
0
 public static extern HRESULT CloseThemeData(HTHEME hTheme);
コード例 #20
0
 public static extern HRESULT GetThemeSysInt(HTHEME hTheme, int iIntId, int *piValue);
コード例 #21
0
 public static extern HRESULT DrawThemeBackgroundEx(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("LPCRECT")] RECT *pRect, [NativeTypeName("const DTBGOPTS *")] DTBGOPTS *pOptions);
コード例 #22
0
 public static extern HRESULT DrawThemeTextEx(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("LPCWSTR")] ushort *pszText, int cchText, [NativeTypeName("DWORD")] uint dwTextFlags, [NativeTypeName("LPRECT")] RECT *pRect, [NativeTypeName("const DTTOPTS *")] DTTOPTS *pOptions);
コード例 #23
0
 public static extern HRESULT GetThemeBackgroundExtent(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("LPCRECT")] RECT *pContentRect, [NativeTypeName("LPRECT")] RECT *pExtentRect);
コード例 #24
0
 public static extern HRESULT GetThemeBitmap(HTHEME hTheme, int iPartId, int iStateId, int iPropId, [NativeTypeName("ULONG")] uint dwFlags, HBITMAP *phBitmap);
コード例 #25
0
 public static extern HRESULT GetThemePartSize(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("LPCRECT")] RECT *prc, [NativeTypeName("enum THEMESIZE")] THEMESIZE eSize, SIZE *psz);
コード例 #26
0
 public static extern HRESULT GetThemeStream(HTHEME hTheme, int iPartId, int iStateId, int iPropId, void **ppvStream, [NativeTypeName("DWORD *")] uint *pcbStream, HINSTANCE hInst);
コード例 #27
0
 public static extern HRESULT GetThemeTextMetrics(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, TEXTMETRICW *ptm);
コード例 #28
0
 public static extern HRESULT GetThemeAnimationProperty(HTHEME hTheme, int iStoryboardId, int iTargetId, TA_PROPERTY eProperty, void *pvProperty, [NativeTypeName("DWORD")] uint cbSize, [NativeTypeName("DWORD *")] uint *pcbSizeOut);
コード例 #29
0
 public static extern HRESULT DrawThemeEdge(HTHEME hTheme, HDC hdc, int iPartId, int iStateId, [NativeTypeName("LPCRECT")] RECT *pDestRect, uint uEdge, uint uFlags, [NativeTypeName("LPRECT")] RECT *pContentRect);
コード例 #30
0
 public static extern HRESULT GetThemeRect(HTHEME hTheme, int iPartId, int iStateId, int iPropId, [NativeTypeName("LPRECT")] RECT *pRect);