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