| 69 | } |
| 70 | |
| 71 | HRESULT GetCsidlDisplayName(int csidl, TCHAR *szFolderName, UINT cchMax, DWORD uParsingFlags) |
| 72 | { |
| 73 | unique_pidl_absolute pidl; |
| 74 | HRESULT hr = SHGetFolderLocation(NULL, csidl, NULL, 0, wil::out_param(pidl)); |
| 75 | |
| 76 | if (SUCCEEDED(hr)) |
| 77 | { |
| 78 | hr = GetDisplayName(pidl.get(), szFolderName, cchMax, uParsingFlags); |
| 79 | } |
| 80 | |
| 81 | return hr; |
| 82 | } |
| 83 | |
| 84 | HRESULT GetItemAttributes(const TCHAR *szItemParsingPath, SFGAOF *pItemAttributes) |
| 85 | { |
no test coverage detected