Akihiro Sagawa (@sgwaki) commented about dlls/scrrun/filesystem.c:
- DWORD attrs;
- int len;
- WCHAR src_path[MAX_PATH],src_drive[MAX_PATH],src_dir[MAX_PATH],dst_path[MAX_PATH],
file_name[MAX_PATH],file_ext[MAX_PATH];
- WIN32_FIND_DATAW ffd;
- HANDLE f;
- BOOL wildcard = FALSE;
- return E_NOTIMPL;
- TRACE("%p %s %s\n", iface, debugstr_w(source), debugstr_w(destination));
- if(!source || !destination)
return E_INVALIDARG;
- _wsplitpath(source, src_drive, src_dir, file_name, file_ext);
- if (wcschr(file_name,'*') || wcschr(file_name,'?') ||wcschr(file_ext,'*') || wcschr(file_ext,'?'))
You can use `wcspbrk()` here as seen in dlls/comdlg32/filedlg.c.