10 references to MAX_PATH
UIAutomationClientSideProviders (10)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (6)
1357
using (SafeCoTaskMem copyTo = new SafeCoTaskMem(NativeMethods.
MAX_PATH
))
1366
if (Misc.ReadProcessMemory(hProcess, group.pszHeader, copyTo, new IntPtr(NativeMethods.
MAX_PATH
), out count))
1405
using (SafeCoTaskMem copyTo = new SafeCoTaskMem(NativeMethods.
MAX_PATH
))
1414
if (Misc.ReadProcessMemory(hProcess, new IntPtr(group.pszHeader), copyTo, new IntPtr(NativeMethods.
MAX_PATH
), out count))
1453
using (SafeCoTaskMem copyTo = new SafeCoTaskMem(NativeMethods.
MAX_PATH
))
1462
if (Misc.ReadProcessMemory(hProcess, new IntPtr(group.pszHeader), copyTo, new IntPtr(NativeMethods.
MAX_PATH
), out count))
MS\Internal\AutomationProxies\Misc.cs (4)
188
StringBuilder sb = new StringBuilder(NativeMethods.
MAX_PATH
+ 1);
190
int result = UnsafeNativeMethods.GetClassName(hwnd, sb, NativeMethods.
MAX_PATH
);
1409
System.Text.StringBuilder className = new System.Text.StringBuilder(NativeMethods.
MAX_PATH
+ 1);
1411
uint result = UnsafeNativeMethods.RealGetWindowClass(hwnd, className, NativeMethods.
MAX_PATH
);