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