Home
last modified time | relevance | path

Searched refs:PathA (Results 1 – 2 of 2) sorted by relevance

/trunk/main/sal/osl/w32/
H A Dsecurity.c700 sal_Char PathA[_MAX_PATH]; in GetSpecialFolder() local
713 if (pSHGetSpecialFolderPathA(GetActiveWindow(), PathA, nFolder, TRUE)) in GetSpecialFolder()
715 …rtl_string2UString( strPath, PathA, strlen(PathA), osl_getThreadTextEncoding(), OUSTRING_TO_OSTRIN… in GetSpecialFolder()
755 DWORD lSize = elementsof(PathA); in GetSpecialFolder()
761 lRet = RegQueryValueEx(hRegKey, "AppData", NULL, &Type, (LPBYTE)PathA, &lSize); in GetSpecialFolder()
774 if (_access(PathA, 0) < 0) in GetSpecialFolder()
775 CreateDirectory(PathA, NULL); in GetSpecialFolder()
795 else if (pSHGetPathFromIDListA && pSHGetPathFromIDListA(pidl, PathA)) in GetSpecialFolder()
798 if (_access(PathA, 0) < 0) in GetSpecialFolder()
799 CreateDirectoryA(PathA, NULL); in GetSpecialFolder()
[all …]
/trunk/main/sal/qa/osl/security/
H A Dosl_Security.cxx348 sal_Char PathA[_MAX_PATH]; in main() local
352 LONG lRet, lSize = sizeof(PathA); in main()
355 …lRet = RegQueryValueEx(hRegKey, "AppData", NULL, &Type, ( unsigned char * )PathA, ( unsigned long … in main()
356 if ( ( lRet == ERROR_SUCCESS ) && ( Type == REG_SZ ) && ( _access( PathA, 0 ) == 0 ) ) in main()
358 … ::osl::File::getFileURLFromSystemPath( ::rtl::OUString::createFromAscii( PathA ), strConfigDirect… in main()
361 …lRet = RegQueryValueEx(hRegKey, "Personal", NULL, &Type, ( unsigned char * )PathA, ( unsigned long… in main()
362 if ( ( lRet == ERROR_SUCCESS ) && ( Type == REG_SZ ) && ( _access( PathA, 0 ) == 0 ) ) in main()
364 … ::osl::File::getFileURLFromSystemPath( ::rtl::OUString::createFromAscii( PathA ), strHomeDirector… in main()

Completed in 12 milliseconds