Lines Matching refs:attrib
42 typedef int (WINAPI * SHGetFileInfoWP)(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFil…
55 static DWORD_PTR MySHGetFileInfoW(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFileInfo… in MySHGetFileInfoW() argument
64 (pszPath, attrib, psfi, cbFileInfo, uFlags); in MySHGetFileInfoW()
67 DWORD_PTR GetRealIconIndex(CFSTR path, DWORD attrib, int &iconIndex) in GetRealIconIndex() argument
73 DWORD_PTR res = ::SHGetFileInfo(fs2fas(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
82 DWORD_PTR res = ::MySHGetFileInfoW(fs2us(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
119 static int FindInSorted_Attrib(const CRecordVector<CAttribIconPair> &vect, DWORD attrib, int &inser… in FindInSorted_Attrib() argument
126 if (attrib == midAttrib) in FindInSorted_Attrib()
128 if (attrib < midAttrib) in FindInSorted_Attrib()
155 int CExtToIconMap::GetIconIndex(DWORD attrib, const wchar_t *fileName /*, UString *typeName */) in GetIconIndex() argument
178 if ((attrib & FILE_ATTRIBUTE_DIRECTORY) != 0 || dotPos < 0) in GetIconIndex()
181 int index = FindInSorted_Attrib(_attribMap, attrib, insertPos); in GetIconIndex()
193 , attrib, pair.IconIndex in GetIconIndex()
203 pair.Attrib = attrib; in GetIconIndex()
244 GetRealIconIndex(us2fs(fileName + dotPos), attrib, pair.IconIndex); in GetIconIndex()