/// <summary>Initializes a new instance of the <see cref="INITCOMMONCONTROLSEX"/> class and sets the dwICC field.</summary> /// <param name="ccc">The <see cref="CommonControlClass"/> value to assign to the dwICC field.</param> public INITCOMMONCONTROLSEX(CommonControlClass ccc) { dwICC = ccc; dwSize = Marshal.SizeOf(typeof(INITCOMMONCONTROLSEX)); }
public static bool InitCommonControlsEx(CommonControlClass ccc) { var icc = new INITCOMMONCONTROLSEX(ccc); return(InitCommonControlsEx(ref icc)); }