1 write to cch
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
736
info.
cch
+= 1; // according to MSDN we need to increment the count we receive by 1.
3 references to cch
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (3)
734
if (info.
cch
> 0) {
738
IntPtr allocatedStringBuffer = Marshal.AllocCoTaskMem(info.
cch
* Marshal.SystemDefaultCharSize);
749
text = Marshal.PtrToStringAuto(info.dwTypeData, info.
cch
);