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