public static FanCoolersControlEntry Create() { var r = new FanCoolersControlEntry { Reserved = new NvU32[8] }; return(r); }
public static PrivateFanCoolersControlV1 Create() { var r = new PrivateFanCoolersControlV1 { version = (uint)(NvapiConst.VERSION1 | (Marshal.SizeOf(typeof(PrivateFanCoolersControlV1)))), Reserved = new NvU32[8], FanCoolersControlEntries = new FanCoolersControlEntry[NvapiConst.MaxNumberOfFanCoolerControlEntries] }; for (int i = 0; i < r.FanCoolersControlEntries.Length; i++) { r.FanCoolersControlEntries[i] = FanCoolersControlEntry.Create(); } return(r); }