| 2921 | } |
| 2922 | |
| 2923 | DWORD WINAPI shCustomGetFileAttributesW(LPCWSTR lpFileName) |
| 2924 | { |
| 2925 | auto raddr = _ReturnAddress(); |
| 2926 | auto bRecursive = isRecursive(raddr); |
| 2927 | if (!bRecursive && HasVirtualFiles() && IsVirtualFile(lpFileName)) |
| 2928 | { |
| 2929 | if (GetVirtualFileByPath(lpFileName)) |
| 2930 | { |
| 2931 | return FILE_ATTRIBUTE_NORMAL; |
| 2932 | } |
| 2933 | SetLastError(ERROR_FILE_NOT_FOUND); |
| 2934 | return INVALID_FILE_ATTRIBUTES; |
| 2935 | } |
| 2936 | auto r = GetFilePathForOverload(lpFileName, bRecursive); |
| 2937 | return mhGetFileAttributesW->get_original<decltype(GetFileAttributesW)>()(value_orW(r, lpFileName)); |
| 2938 | } |
| 2939 | |
| 2940 | BOOL WINAPI shCustomGetFileAttributesExA(LPCSTR lpFileName, GET_FILEEX_INFO_LEVELS fInfoLevelId, LPVOID lpFileInformation) |
| 2941 | { |
nothing calls this directly
no test coverage detected