public DIBSection(IntPtr hwnd, int width, int height) { dibInfo = default(DIBInfo); dibInfo.Hwnd = hwnd; dibInfo.Width = width; dibInfo.Height = height; CreateDIB(ref dibInfo); }
private static extern void CreateDIB(ref DIBInfo dibInfo);
private static extern void DrawDIB(ref DIBInfo dibInfo);
private static extern void DestroyDIB(ref DIBInfo dibInfo);