Lines Matching refs:path
101 wchar_t* getBrandPath(wchar_t * path) in getBrandPath() argument
103 DWORD n = GetModuleFileNameW(NULL, path, MAX_PATH); in getBrandPath()
107 return tools::filename(path); in getBrandPath()
152 wchar_t path[MAX_PATH]; in WinMain() local
154 wchar_t * pathEnd = getBrandPath(path); in WinMain()
156 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"")) == NULL) in WinMain()
158 rebaseImagesInFolder(path, BASEVIRTUALADDRESS); in WinMain()
160 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"..\\basis-link")) == NULL) in WinMain()
162 pathEnd = tools::resolveLink(path); in WinMain()
167 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"\\program\\")) == NULL) in WinMain()
169 rebaseImagesInFolder(path, BASEVIRTUALADDRESS); in WinMain()
171 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"\\ure-link")) == NULL) in WinMain()
173 pathEnd = tools::resolveLink(path); in WinMain()
178 if (tools::buildPath(path, path, pathEnd, MY_STRING(L"\\bin\\")) == NULL) in WinMain()
180 rebaseImagesInFolder(path, BASEVIRTUALADDRESS); in WinMain()