Example #1
0
File: Gdi32.cs Project: caoxk/coapp
 public static extern int GetDIBits(IntPtr hdc, IntPtr hbmp, uint uStartScan, uint cScanLines, [Out] byte[] lpvBits, [In] ref BitmapInfo lpbmi,
                                    uint uUsage);
Example #2
0
File: Gdi32.cs Project: caoxk/coapp
 public static extern IntPtr CreateDIBSection(IntPtr hdc, [In] ref BitmapInfo pbmi, uint iUsage, out IntPtr ppvBits, IntPtr hSection, uint dwOffset);
Example #3
0
File: Gdi32.cs Project: caoxk/coapp
 public static extern int SetDIBitsToDevice(IntPtr hdc, Int32 XDest, Int32 YDest, UInt32 dwWidth, UInt32 dwHeight, Int32 XSrc, Int32 YSrc,
                                            UInt32 uStartScan, UInt32 cScanLines, byte[] lpvBits, [In] ref BitmapInfo lpbmi, UInt32 fuColorUse);