1 write to cch
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
626
info.
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)
623
if (info.
cch
> 0)
628
nint allocatedStringBuffer = Marshal.AllocCoTaskMem((int)info.
cch
* sizeof(char));
638
text = new string(info.dwTypeData, 0, (int)info.
cch
);