3 references to PtrToStringAuto
System.Drawing (2)
commonui\System\Drawing\Printing\PrinterSettings.cs (2)
1203
string name = Marshal.
PtrToStringAuto
((IntPtr)(checked((long)namesBuffer + stringSize * i)), 64);
1244
string name = Marshal.
PtrToStringAuto
((IntPtr)(checked((long)namesBuffer + stringSize * i)), 24);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
749
text = Marshal.
PtrToStringAuto
(info.dwTypeData, info.cch);