| 119 | |
| 120 | |
| 121 | bool IsWildcard(const wchar *Str) |
| 122 | { |
| 123 | if (Str==NULL) |
| 124 | return false; |
| 125 | #ifdef _WIN_ALL |
| 126 | // Not treat the special NTFS \\?\d: path prefix as a wildcard. |
| 127 | if (Str[0]=='\\' && Str[1]=='\\' && Str[2]=='?' && Str[3]=='\\') |
| 128 | Str+=4; |
| 129 | #endif |
| 130 | return wcspbrk(Str,L"*?")!=NULL; |
| 131 | } |
| 132 | |
| 133 | |
| 134 | bool IsPathDiv(int Ch) |
no outgoing calls
no test coverage detected