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