Exemplo n.º 1
0
 internal static extern IntPtr CreateDIBSection(IntPtr hdc, [In] ref BITMAPINFO pbmi, int iUsage, out IntPtr ppvBits, IntPtr hSection, uint dwOffset);
Exemplo n.º 2
0
 internal static IntPtr CreateDibSectionRgb(IntPtr hdc, ref BITMAPINFO bitmapInfo, out IntPtr bits)
 => NativeMethods.CreateDIBSection(hdc, ref bitmapInfo, DIB_RGB_COLORS, out bits, IntPtr.Zero, 0);