Lines Matching defs:pwszWinPath
88 * @param pwszWinPath The UTF-16 windows-style path.
92 PCRTUTF16 pwszWinPath, size_t cwcWinPath)
95 pwszWinPath++;
109 memcpy(pwszNtPath + 3, pwszWinPath + 3, (cwcWinPath - 3) * sizeof(RTUTF16));
237 * @param pwszWinPath The UTF-16 windows-style path.
240 * pwszWinPath is correctly terminated.
242 RTDECL(int) RTNtPathFromWinUtf16Ex(struct _UNICODE_STRING *pNtName, HANDLE *phRootDir, PCRTUTF16 pwszWinPath, size_t cwcWinPath)
247 if (cwcWinPath == 0 || *pwszWinPath == '\0')
250 RTUtf16NLenEx(pwszWinPath, cwcWinPath, &cwcWinPath);
251 int rc = RTUtf16ValidateEncodingEx(pwszWinPath, cwcWinPath, 0);
262 if ( RTPATH_IS_SLASH(pwszWinPath[0])
264 && RTPATH_IS_SLASH(pwszWinPath[1])
265 && !RTPATH_IS_SLASH(pwszWinPath[2]) )
267 if ( pwszWinPath[2] == '?'
269 && RTPATH_IS_SLASH(pwszWinPath[3]))
270 return rtNtPathFromWinUtf16PassThru(pNtName, phRootDir, pwszWinPath, cwcWinPath);
274 if ( pwszWinPath[2] == '!'
276 && RTPATH_IS_SLASH(pwszWinPath[3]))
278 pwszWinPath += 3;
285 memcpy(pwszNtPath, pwszWinPath, cwcWinPath * sizeof(RTUTF16));
301 if ( pwszWinPath[2] == '.'
303 && RTPATH_IS_SLASH(pwszWinPath[3]))
327 rc = RTUtf16ToUtf8Ex(pwszWinPath, cwcWinPath, &pszRelPath, sizeof(szRelPath), &cchRelPath);