コード例 #1
0
 public static extern int GetThemeBackgroundContentRect(
     SafeThemeHandle hTheme,
     HandleRef hdc,
     int iPartId,
     int iStateId,
     [In] ref CRECT pBoundingRect,
     out CRECT pContentRect);
コード例 #2
0
 public static extern HResult UxGetThemePropertyOrigin(
     SafeThemeFileHandle hThemeFile,
     SafeThemeHandle hTheme,
     int iPartId,
     int iStateId,
     int iPropId,
     [MarshalAs(UnmanagedType.U4)] out PropertyOrigin pOrigin);
コード例 #3
0
 public static extern int GetThemeBackgroundExtent(
     SafeThemeHandle hTheme,
     HandleRef hdc,
     int iPartId,
     int iStateId,
     [In] CRECT pContentRect,
     CRECT pExtentRect);
コード例 #4
0
 public static extern HResult GetThemeTransitionDuration(
     SafeThemeHandle hTheme,
     int iPartId,
     int iStateIdFrom,
     int iStateIdTo,
     int iPropId,
     out uint pdwDuration);
コード例 #5
0
 public static extern int GetThemeSysColor(SafeThemeHandle hTheme, int iColorID);
コード例 #6
0
 public static extern HResult GetThemePartSize(
     SafeThemeHandle hTheme, IntPtr hdc, int iPartId, int iStateId, CRECT prc, ThemeSize eSize, out SIZE psz);
コード例 #7
0
 public static extern bool GetThemeSysBool(SafeThemeHandle hTheme, int iBoolId);
コード例 #8
0
 public static extern HResult UxGetThemeRect(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, out RECT pRect);
コード例 #9
0
 public static extern HResult GetThemeSysString(SafeThemeHandle hTheme, int iStringID, StringBuilder pszStringBuff, int cchMaxStringChars);
コード例 #10
0
 public static extern HResult GetThemeBool(SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId, out bool pfVal);
コード例 #11
0
 public static extern SIZE GetThemePartSize(
     SafeThemeHandle hTheme, HandleRef hdc, int iPartId, int iStateId, CRECT prc, ThemeSize eSize);
コード例 #12
0
 public static extern HResult GetThemeSysFont(SafeThemeHandle hTheme, int iFontID, [Out] LOGFONT pFont);
コード例 #13
0
 public static extern int DrawThemeBackground(
     SafeThemeHandle hTheme, HandleRef hdc, int partId, int stateId, [In] CRECT pRect, [In] CRECT pClipRect);
コード例 #14
0
 public static extern HResult GetThemeIntList(SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId, INTLIST pIntList);
コード例 #15
0
 public static extern HResult GetThemeFont(SafeThemeHandle hTheme, IntPtr hdc, int iPartId, int iStateId, int iPropId, [Out] LOGFONT pFont);
コード例 #16
0
 public static extern HResult GetThemeMetric(SafeThemeHandle hTheme, IntPtr hdc, int iPartId, int iStateId, int iPropId, out int piVal);
コード例 #17
0
 public static extern HResult GetThemeInt(SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId, out int piVal);
コード例 #18
0
 public static extern HResult GetThemeColor(SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId, out int pColor);
コード例 #19
0
 public static extern HResult GetThemeSysInt(SafeThemeHandle hTheme, int iIntId, out int piValue);
コード例 #20
0
 public static extern int GetThemeTextExtent(SafeThemeHandle hTheme, HandleRef hdc, int iPartId, int iStateId, [MarshalAs(UnmanagedType.LPWStr)] string pszText, int iCharCount, int dwTextFlags, [In] CRECT pBoundingRect, [Out] out Rectangle pExtentRect);
コード例 #21
0
 public static extern int GetThemeRect(
     SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId, out CRECT pRect);
コード例 #22
0
 public static extern HResult GetThemeBitmap(
     SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId,
     [MarshalAs(UnmanagedType.U4)] GBF dwFlags, out IntPtr phBitmap);
コード例 #23
0
 public static extern HResult GetThemeMargins(
     SafeThemeHandle hTheme, IntPtr hdc, int iPartId, int iStateId,
     int iPropId, CRECT prc, out MARGINS pMargins);
コード例 #24
0
 public static extern bool IsThemeBackgroundPartiallyTransparent(SafeThemeHandle hTheme, int iPartId, int iStateId);
コード例 #25
0
 public static extern int DrawThemeText(
     SafeThemeHandle hTheme, HandleRef hdc, int iPartId, int iStateId,
     string pszText, int iCharCount, int dwTextFlags, int dwTextFlags2,
     [In] CRECT pRect);
コード例 #26
0
 public static extern HResult GetThemePosition(SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId, out POINT pPoint);
コード例 #27
0
 public static extern CRECT GetThemeRect(
     SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId);
コード例 #28
0
 public static extern HResult GetThemeStream(
     SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId,
     out IntPtr ppvStream, out uint pcbStream, SafeModuleHandle hInst);
コード例 #29
0
 public static extern MARGINS GetThemeMargins(
     SafeThemeHandle hTheme, IntPtr hdc, int iPartId, int iStateId, int iPropId, CRECT prc);
コード例 #30
0
 public static extern HResult GetThemeString(SafeThemeHandle hTheme, int iPartId, int iStateId, int iPropId, StringBuilder pszBuff, int cchMaxBuffChars);