10 references to MAX_PATH
UIAutomationClientsideProviders (10)
MS\Internal\AutomationProxies\CommonXSendMessage.cs (6)
1366
using (SafeCoTaskMem copyTo = new SafeCoTaskMem(NativeMethods.
MAX_PATH
))
1375
if (Misc.ReadProcessMemory(hProcess, group.pszHeader, copyTo, new IntPtr(NativeMethods.
MAX_PATH
), out count))
1414
using (SafeCoTaskMem copyTo = new SafeCoTaskMem(NativeMethods.
MAX_PATH
))
1423
if (Misc.ReadProcessMemory(hProcess, new IntPtr(group.pszHeader), copyTo, new IntPtr(NativeMethods.
MAX_PATH
), out count))
1462
using (SafeCoTaskMem copyTo = new SafeCoTaskMem(NativeMethods.
MAX_PATH
))
1471
if (Misc.ReadProcessMemory(hProcess, new IntPtr(group.pszHeader), copyTo, new IntPtr(NativeMethods.
MAX_PATH
), out count))
MS\Internal\AutomationProxies\Misc.cs (4)
205
StringBuilder sb = new StringBuilder(NativeMethods.
MAX_PATH
+ 1);
207
int result = UnsafeNativeMethods.GetClassName(hwnd, sb, NativeMethods.
MAX_PATH
);
1430
System.Text.StringBuilder className = new System.Text.StringBuilder(NativeMethods.
MAX_PATH
+ 1);
1432
uint result = UnsafeNativeMethods.RealGetWindowClass(hwnd, className, NativeMethods.
MAX_PATH
);