Searched refs:cchPathLen (Results 1 – 4 of 4) sorted by relevance
485 SIZE_T cchPathLen; in FsOpenFile() local506 cchPathLen = min(sizeof(FullPath)/sizeof(CHAR), strlen(FullPath)); in FsOpenFile()507 if (cchPathLen >= sizeof(FullPath)/sizeof(CHAR)) in FsOpenFile()511 cchPathLen > 0 && (FullPath[cchPathLen-1] != '\\' && FullPath[cchPathLen-1] != '/')) in FsOpenFile()519 … cchPathLen > 0 && (FullPath[cchPathLen-1] == '\\' || FullPath[cchPathLen-1] == '/')) in FsOpenFile()
586 SIZE_T cchPathLen; in ConcatPathsV() local598 cchPathLen = min(cchPathSize, wcslen(PathBuffer)); in ConcatPathsV()599 if (cchPathLen >= cchPathSize) in ConcatPathsV()603 cchPathLen > 0 && PathBuffer[cchPathLen-1] != OBJ_NAME_PATH_SEPARATOR) in ConcatPathsV()611 cchPathLen > 0 && PathBuffer[cchPathLen-1] == OBJ_NAME_PATH_SEPARATOR) in ConcatPathsV()
390 size_t cchPathLen; in AutoStartupApplications() local396 cchPathLen = wcslen(szPath); in AutoStartupApplications()397 if (!SUCCEEDED(hResult) || cchPathLen == 0) in AutoStartupApplications()429 szPath[cchPathLen + 1] = UNICODE_NULL; in AutoStartupApplications()
3548 DWORD cchPathLen = GetModuleFileNameW(GetCurrentModule(), szPath, ARRAYSIZE(szPath) - 1); in LoadTypeLibrary() local3550 if(cchPathLen == 0) in LoadTypeLibrary()3553 if(cchPathLen > ((ARRAYSIZE(szPath) - 1) - 2)) in LoadTypeLibrary()3559 szPath[cchPathLen + 0] = L'\\'; in LoadTypeLibrary()3560 szPath[cchPathLen + 1] = static_cast<WCHAR>(L'0' + m_typeLibIndex); in LoadTypeLibrary()3561 szPath[cchPathLen + 2] = 0; in LoadTypeLibrary()