12 references to MAX_PATH
System.Windows.Forms (12)
winforms\Managed\System\WinForms\DataObject.cs (1)
1840StringBuilder sb = new StringBuilder(NativeMethods.MAX_PATH);
winforms\Managed\System\WinForms\FolderBrowserDialog.cs (3)
271pszDisplayName = Marshal.AllocHGlobal(NativeMethods.MAX_PATH * Marshal.SystemDefaultCharSize); 272pszSelectedPath = Marshal.AllocHGlobal((NativeMethods.MAX_PATH + 1) * Marshal.SystemDefaultCharSize); 349IntPtr pszSelectedPath = Marshal.AllocHGlobal((NativeMethods.MAX_PATH + 1) * Marshal.SystemDefaultCharSize);
winforms\Managed\System\WinForms\NativeMethods.cs (2)
3841public int nMaxFile = NativeMethods.MAX_PATH; 3843public int nMaxFileTitle = NativeMethods.MAX_PATH;
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3445StringBuilder path = new StringBuilder(NativeMethods.MAX_PATH);
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (5)
527StringBuilder buffer = new StringBuilder(NativeMethods.MAX_PATH); 537int capacity = noOfTimes * NativeMethods.MAX_PATH < NativeMethods.MAX_UNICODESTRING_LEN ? noOfTimes * NativeMethods.MAX_PATH : NativeMethods.MAX_UNICODESTRING_LEN; 7596int bufferSize = NativeMethods.MAX_PATH * Marshal.SystemDefaultCharSize; 7597int length = NativeMethods.MAX_PATH;