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