Lines Matching refs:path
199 * filename [in] - The filename or full path of the DLL to load. If only the
222 /* Detect if there's already a path in the filename and load the library if
240 /* Attempt to get the Windows system path */
243 /* Allocate space for the full DLL path (Room for the null terminator
246 TCHAR *path = malloc(sizeof(TCHAR) * (systemdirlen + 1 + filenamelen));
247 if(path && GetSystemDirectory(path, systemdirlen)) {
248 /* Calculate the full DLL path */
249 _tcscpy(path + _tcslen(path), TEXT("\\"));
250 _tcscpy(path + _tcslen(path), filename);
255 pLoadLibraryEx(path, NULL, LOAD_WITH_ALTERED_SEARCH_PATH) :
256 LoadLibrary(path);
259 free(path);