15 references to StringToHGlobalAuto
System (5)
compmod\microsoft\win32\SystemEvents.cs (1)
1447newStringPtr = Marshal.StringToHGlobalAuto(newString);
services\monitoring\system\diagnosticts\Process.cs (4)
2235shellExecuteInfo.lpFile = Marshal.StringToHGlobalAuto(startInfo.FileName); 2237shellExecuteInfo.lpVerb = Marshal.StringToHGlobalAuto(startInfo.Verb); 2239shellExecuteInfo.lpParameters = Marshal.StringToHGlobalAuto(startInfo.Arguments); 2241shellExecuteInfo.lpDirectory = Marshal.StringToHGlobalAuto(startInfo.WorkingDirectory);
System.Windows.Forms (10)
winforms\Managed\System\WinForms\ListView.cs (2)
3464lvgroup.pszHeader = Marshal.StringToHGlobalAuto(header); 4892lvColumn.pszText = Marshal.StringToHGlobalAuto(ch.Text);
winforms\Managed\System\WinForms\ToolBarButton.cs (2)
673button.pszText = Marshal.StringToHGlobalAuto("\0\0"); 678button.pszText = Marshal.StringToHGlobalAuto(textValue);
winforms\Managed\System\WinForms\ToolTip.cs (4)
1186ti.lpszText = Marshal.StringToHGlobalAuto(caption); 1192ti.lpszText = Marshal.StringToHGlobalAuto(caption); 2025ti.lpszText = Marshal.StringToHGlobalAuto(text); 2074toolInfo.lpszText = Marshal.StringToHGlobalAuto(text);
winforms\Managed\System\WinForms\TreeNode.cs (2)
1682tvis.item_pszText = Marshal.StringToHGlobalAuto(text); 1926item.pszText = Marshal.StringToHGlobalAuto(text);