10 references to MAX_PATH
UIAutomationClientSideProviders (10)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (6)
1358
using (SafeCoTaskMem copyTo = new SafeCoTaskMem(NativeMethods.
MAX_PATH
))
1367
if (Misc.ReadProcessMemory(hProcess, group.pszHeader, copyTo, new IntPtr(NativeMethods.
MAX_PATH
), out count))
1406
using (SafeCoTaskMem copyTo = new SafeCoTaskMem(NativeMethods.
MAX_PATH
))
1415
if (Misc.ReadProcessMemory(hProcess, new IntPtr(group.pszHeader), copyTo, new IntPtr(NativeMethods.
MAX_PATH
), out count))
1454
using (SafeCoTaskMem copyTo = new SafeCoTaskMem(NativeMethods.
MAX_PATH
))
1463
if (Misc.ReadProcessMemory(hProcess, new IntPtr(group.pszHeader), copyTo, new IntPtr(NativeMethods.
MAX_PATH
), out count))
MS\Internal\AutomationProxies\Misc.cs (4)
194
StringBuilder sb = new StringBuilder(NativeMethods.
MAX_PATH
+ 1);
196
int result = UnsafeNativeMethods.GetClassName(hwnd, sb, NativeMethods.
MAX_PATH
);
1417
System.Text.StringBuilder className = new System.Text.StringBuilder(NativeMethods.
MAX_PATH
+ 1);
1419
uint result = UnsafeNativeMethods.RealGetWindowClass(hwnd, className, NativeMethods.
MAX_PATH
);