1 write to cch
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
626info.cch += 1; // according to MSDN we need to increment the count we receive by 1.
3 references to cch
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (3)
623if (info.cch > 0) 628nint allocatedStringBuffer = Marshal.AllocCoTaskMem((int)info.cch * sizeof(char)); 638text = new string(info.dwTypeData, 0, (int)info.cch);