'Ext' is an extension without the leading dot, like L"rar".
| 112 | |
| 113 | // 'Ext' is an extension without the leading dot, like L"rar". |
| 114 | bool CmpExt(const wchar *Name,const wchar *Ext) |
| 115 | { |
| 116 | wchar *NameExt=GetExt(Name); |
| 117 | return NameExt!=NULL && wcsicomp(NameExt+1,Ext)==0; |
| 118 | } |
| 119 | |
| 120 | |
| 121 | bool IsWildcard(const wchar *Str) |
no test coverage detected