Exemple #1
0
 public static extern HResult UxGetThemePropertyOrigin(
     SafeThemeFileHandle hThemeFile,
     SafeThemeHandle hTheme,
     int iPartId,
     int iStateId,
     int iPropId,
     [MarshalAs(UnmanagedType.U4)] out PropertyOrigin pOrigin);
Exemple #2
0
 public static extern HResult UxGetThemeTransitionDuration(
     SafeThemeFileHandle hThemeFile,
     SafeThemeHandle hTheme,
     int iPartId,
     int iStateIdFrom,
     int iStateIdTo,
     int iPropId,
     out uint pdwDuration);
Exemple #3
0
 public static extern HResult UxGetThemeMargins(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, IntPtr hdc,
     int iPartId, int iStateId, int iPropId, CRECT prc, out MARGINS pMargins);
Exemple #4
0
 public static extern HResult UxGetThemeFont(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, IntPtr hdc,
     int iPartId, int iStateId, int iPropId, [Out] LOGFONT pFont);
Exemple #5
0
 public static extern HResult UxGetThemeIntList(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, INTLIST pIntList);
Exemple #6
0
 public static extern HResult UxGetThemeMetric(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, IntPtr hdc,
     int iPartId, int iStateId, int iPropId, out int piVal);
Exemple #7
0
 public static extern HResult UxGetThemeInt(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, out int piVal);
Exemple #8
0
 public static extern HResult UxOpenThemeFile(
     [MarshalAs(UnmanagedType.LPWStr)] string themeFileName,
     bool highContrast,
     out SafeThemeFileHandle hThemeFile);
Exemple #9
0
 public static extern HResult UxGetThemeBool(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, out bool pfVal);
Exemple #10
0
 public static extern HResult UxGetThemeBitmap(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, [MarshalAs(UnmanagedType.U4)] GBF dwFlags,
     out IntPtr phBitmap);
Exemple #11
0
 public static extern SafeThemeHandle UxOpenThemeData(
     SafeThemeFileHandle themeFile, IntPtr hwnd,
     [MarshalAs(UnmanagedType.LPWStr)] string pszClassList);
Exemple #12
0
 public static extern HResult DumpLoadedThemeToTextFile(
     SafeThemeFileHandle hThemeFile, string path, bool packed, bool fullInfo);
Exemple #13
0
 public static extern HResult UxOverrideTheme(SafeThemeFileHandle themeFile);
Exemple #14
0
 public static extern HResult UxGetThemePosition(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, out POINT pPoint);
Exemple #15
0
 public static extern HResult UxGetThemeColor(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, out int pColor);
Exemple #16
0
 public static extern HResult UxGetThemeRect(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, out RECT pRect);
Exemple #17
0
 public static extern HResult UxGetThemeFilename(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, StringBuilder pszThemeFilename,
     int cchMaxBuffChars);
Exemple #18
0
 public static extern HResult UxGetThemeStream(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, int iPartId,
     int iStateId, int iPropId, out IntPtr ppvStream, out uint pcbStream,
     SafeModuleHandle hInst);
Exemple #19
0
 public static extern HResult UxGetThemePartSize(
     SafeThemeFileHandle hThemeFile, SafeThemeHandle hTheme, IntPtr hdc,
     int iPartId, int iStateId, CRECT prc, ThemeSize eSize, out SIZE psz);