9 writes to cbSize
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
133cbSize = (uint)sizeof(MSOCRINFO),
System.Windows.Forms.Tests (8)
System\Windows\Forms\Application.ComponentManagerTests.cs (8)
74MSOCRINFO info = new MSOCRINFO { cbSize = (uint)sizeof(MSOCRINFO) }; 94MSOCRINFO info = new MSOCRINFO { cbSize = (uint)sizeof(MSOCRINFO) }; 110MSOCRINFO info = new MSOCRINFO { cbSize = (uint)sizeof(MSOCRINFO) }; 124MSOCRINFO info = new MSOCRINFO { cbSize = (uint)sizeof(MSOCRINFO) }; 155MSOCRINFO info = new MSOCRINFO { cbSize = (uint)sizeof(MSOCRINFO) }; 188MSOCRINFO info = new MSOCRINFO { cbSize = (uint)sizeof(MSOCRINFO) }; 219MSOCRINFO info = new MSOCRINFO { cbSize = (uint)sizeof(MSOCRINFO) }; 305cbSize = (uint)sizeof(MSOCRINFO),
4 references to cbSize
System.Windows.Forms (3)
System\Windows\Forms\Application.ComponentManager.cs (2)
66if (pcrinfo is null || pdwComponentID is null || component is null || pcrinfo->cbSize < sizeof(MSOCRINFO)) 373if (pcrinfo->cbSize < sizeof(MSOCRINFO))
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
150$"Failed to register WindowsForms with the ComponentManager -- DoEvents and modal dialogs will be broken. size: {info.cbSize}");
System.Windows.Forms.Primitives (1)
Microsoft\Office\IMsoComponentManager.cs (1)
520/// If <paramref name="pcrinfo"/> is not <see langword="null" /> caller should set <see cref="MSOCRINFO.cbSize"/>