1 write to cch
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
736info.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)
734if (info.cch > 0) { 738IntPtr allocatedStringBuffer = Marshal.AllocCoTaskMem(info.cch * Marshal.SystemDefaultCharSize); 749text = Marshal.PtrToStringAuto(info.dwTypeData, info.cch);