/// <summary> /// Initializes a new instance of the <see cref="T:DesktopSprites.Interop.Win32.BITMAPINFO"/> structure. /// </summary> /// <param name="header">A BITMAPINFOHEADER structure that contains information about the dimensions of color format.</param> public BITMAPINFO(BITMAPINFOHEADER header) { bmiHeader = header; bmiColors = new RGBQUAD[1]; }
/// <summary> /// Initializes a new instance of the <see cref="T:DesktopSprites.Interop.Win32.BITMAPINFO"/> structure. /// </summary> /// <param name="header">A BITMAPINFOHEADER structure that contains information about the dimensions of color format.</param> public BITMAPINFO(BITMAPINFOHEADER header) { bmiHeader = header; bmiColors = new RGBQUAD[1]; }