public static extern int GetDIBits(Gdi32.SafeDCHandle hdc, IntPtr hbmp, int uStartScan, int cScanLines, IntPtr lpvBits, ref Gdi32.BITMAPINFO lpbi, DIBColorMode uUsage);
public static extern int GetThemeFont(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, int iPropId, out Gdi32.LOGFONT pFont);
public static extern int GetThemeTextExtent(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, string text, int textLength, User32.DrawTextFlags textFlags, ref RECT boundingRect, out RECT extentRect);
public static extern IntPtr CreateDIBSection(Gdi32.SafeDCHandle hdc, ref Gdi32.BITMAPINFO pbmi, DIBColorMode iUsage, out IntPtr ppvBits, IntPtr hSection, int dwOffset);
public static extern int DrawThemeBackgroundEx(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, ref RECT pRect, DrawThemeBackgroundOptions opts);
public static extern int GetThemePartSize(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int part, int state, PRECT pRect, ThemeSize eSize, out Size size);
public static extern int GetThemeBitmap(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, int iPropId, int dwFlags, out IntPtr phBitmap);
public static extern IntPtr BeginBufferedPaint(Gdi32.SafeDCHandle hdcTarget, [In] ref RECT prcTarget, BP_BUFFERFORMAT dwFormat, [In] BP_PAINTPARAMS pPaintParams, out IntPtr phdc);
public static extern int DrawThemeTextEx(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, string text, int iCharCount, User32.DrawTextFlags dwFlags, ref RECT pRect, ref DrawThemeTextOptions pOptions);
public static extern int GetThemeBackgroundContentRect(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, ref RECT pBoundingRect, out RECT pContentRect);
public static extern int DrawThemeText(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, string text, int textLength, User32.DrawTextFlags textFlags, int textFlags2, ref RECT pRect);
public static extern int DrawThemeParentBackgroundEx(HandleRef hwnd, Gdi32.SafeDCHandle hdc, DrawThemeParentBackgroundFlags dwFlags, PRECT pRect);
public static extern int DrawThemeIcon(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, ref RECT pRect, IntPtr himl, int iImageIndex);
public static extern bool ImageList_DrawEx(HandleRef himl, int i, Gdi32.SafeDCHandle hdcDst, int x, int y, int dx, int dy, uint rgbBk, uint rgbFg, IMAGELISTDRAWFLAGS fStyle);
public static extern int GetThemeMargins(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, int iPropId, IntPtr prc, out RECT pMargins);
public static extern IntPtr BeginBufferedAnimation(HandleRef hwnd, Gdi32.SafeDCHandle hdcTarget, [In] ref RECT rcTarget, BP_BUFFERFORMAT dwFormat, [In] BP_PAINTPARAMS pPaintParams, [In] ref BP_ANIMATIONPARAMS pAnimationParams, out IntPtr phdcFrom, out IntPtr phdcTo);
public static extern int GetThemeMetric(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, int iPropId, out int piVal);
public static extern bool BufferedPaintRenderAnimation(HandleRef hwnd, Gdi32.SafeDCHandle hdcTarget);
public static extern int DrawThemeBackground(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, ref RECT pRect, PRECT pClipRect);