Beispiel #1
0
 public static extern int GetDIBits(Gdi32.SafeDCHandle hdc, IntPtr hbmp, int uStartScan, int cScanLines, IntPtr lpvBits, ref Gdi32.BITMAPINFO lpbi, DIBColorMode uUsage);
Beispiel #2
0
 public static extern int GetThemeFont(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, int iPropId, out Gdi32.LOGFONT pFont);
Beispiel #3
0
 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);
Beispiel #4
0
 public static extern IntPtr CreateDIBSection(Gdi32.SafeDCHandle hdc, ref Gdi32.BITMAPINFO pbmi, DIBColorMode iUsage, out IntPtr ppvBits, IntPtr hSection, int dwOffset);
Beispiel #5
0
 public static extern int DrawThemeBackgroundEx(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, ref RECT pRect, DrawThemeBackgroundOptions opts);
Beispiel #6
0
 public static extern int GetThemePartSize(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int part, int state, PRECT pRect, ThemeSize eSize, out Size size);
Beispiel #7
0
 public static extern int GetThemeBitmap(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, int iPropId, int dwFlags, out IntPtr phBitmap);
Beispiel #8
0
 public static extern IntPtr BeginBufferedPaint(Gdi32.SafeDCHandle hdcTarget, [In] ref RECT prcTarget, BP_BUFFERFORMAT dwFormat, [In] BP_PAINTPARAMS pPaintParams, out IntPtr phdc);
Beispiel #9
0
 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);
Beispiel #10
0
 public static extern int GetThemeBackgroundContentRect(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, ref RECT pBoundingRect, out RECT pContentRect);
Beispiel #11
0
 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);
Beispiel #12
0
 public static extern int DrawThemeParentBackgroundEx(HandleRef hwnd, Gdi32.SafeDCHandle hdc, DrawThemeParentBackgroundFlags dwFlags, PRECT pRect);
Beispiel #13
0
 public static extern int DrawThemeIcon(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, ref RECT pRect, IntPtr himl, int iImageIndex);
Beispiel #14
0
 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);
Beispiel #15
0
 public static extern int GetThemeMargins(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, int iPropId, IntPtr prc, out RECT pMargins);
Beispiel #16
0
 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);
Beispiel #17
0
 public static extern int GetThemeMetric(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, int iPropId, out int piVal);
Beispiel #18
0
 public static extern bool BufferedPaintRenderAnimation(HandleRef hwnd, Gdi32.SafeDCHandle hdcTarget);
Beispiel #19
0
 public static extern int DrawThemeBackground(SafeThemeHandle hTheme, Gdi32.SafeDCHandle hdc, int iPartId, int iStateId, ref RECT pRect, PRECT pClipRect);