| 300 | |
| 301 | #ifndef SFX_MODULE |
| 302 | void GetConfigName(const wchar *Name,wchar *FullName,size_t MaxSize,bool CheckExist,bool Create) |
| 303 | { |
| 304 | *FullName=0; |
| 305 | for (uint I=0;EnumConfigPaths(I,FullName,MaxSize,Create);I++) |
| 306 | { |
| 307 | AddEndSlash(FullName,MaxSize); |
| 308 | wcsncatz(FullName,Name,MaxSize); |
| 309 | if (!CheckExist || WildFileExist(FullName)) |
| 310 | break; |
| 311 | } |
| 312 | } |
| 313 | #endif |
| 314 | |
| 315 |
no test coverage detected