public static extern IntPtr GetThemePartSize(IntPtr hTheme, IntPtr hdc, ThemeParts iPartId, int iStateId, IntPtr prc, THEMESIZE eSize, out SIZE psz);
public static extern IntPtr GetThemeMetric(IntPtr hTheme, IntPtr hdc, ThemeParts iPartId, int iStateId, UxThemeProperties iPropId, ref int piVal);
public static extern IntPtr GetThemePartSize(IntPtr hTheme, IntPtr hdc, ThemeParts iPartId, int iStateId, [MarshalAs(UnmanagedType.Struct)] SIZE prc, THEMESIZE eSize, out SIZE psz);
public static extern IntPtr DrawThemeBackground(IntPtr hTheme, IntPtr hdc, ThemeParts part, int iStateId, RECT pRect, RECT pClipRect);