Home
last modified time | relevance | path

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

/curl/tests/libtest/
H A Dtestutil.c141 size_t systemdirlen = GetSystemDirectory(NULL, 0); in win32_load_system_library()
146 !systemdirlen || systemdirlen > 32768) in win32_load_system_library()
150 path = malloc(sizeof(TCHAR) * (systemdirlen + 1 + filenamelen)); in win32_load_system_library()
155 written = GetSystemDirectory(path, (unsigned int)systemdirlen); in win32_load_system_library()
156 if(!written || written >= systemdirlen) in win32_load_system_library()
/curl/lib/
H A Dsystem_win32.c212 UINT systemdirlen = GetSystemDirectory(NULL, 0); in Curl_load_library() local
213 if(systemdirlen) { in Curl_load_library()
217 TCHAR *path = malloc(sizeof(TCHAR) * (systemdirlen + 1 + filenamelen)); in Curl_load_library()
218 if(path && GetSystemDirectory(path, systemdirlen)) { in Curl_load_library()

Completed in 6 milliseconds