Пример #1
0
 public static extern int StretchDIBits(IntPtr hdc, int XDest, int YDest,
                                        int nDestWidth, int nDestHeight, int XSrc, int YSrc, int nSrcWidth,
                                        int nSrcHeight, IntPtr lpBits, [In] ref BITMAPINFO lpBitsInfo, uint iUsage,
                                        TernaryRasterOperations dwRop);
Пример #2
0
 internal static extern IntPtr CreateDIBSection(IntPtr hdc, [In] ref BITMAPINFO pbmi, uint iUsage, out IntPtr ppvBits, IntPtr hSection, uint dwOffset);