Lines Matching refs:attrib
40 typedef int (WINAPI * SHGetFileInfoWP)(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFil…
53 static DWORD_PTR MySHGetFileInfoW(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFileInfo… in MySHGetFileInfoW() argument
62 (pszPath, attrib, psfi, cbFileInfo, uFlags); in MySHGetFileInfoW()
65 DWORD_PTR GetRealIconIndex(CFSTR path, DWORD attrib, int &iconIndex) in GetRealIconIndex() argument
71 DWORD_PTR res = ::SHGetFileInfo(fs2fas(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
80 DWORD_PTR res = ::MySHGetFileInfoW(fs2us(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
117 static int FindInSorted_Attrib(const CRecordVector<CAttribIconPair> &vect, DWORD attrib, int &inser… in FindInSorted_Attrib() argument
124 if (attrib == midAttrib) in FindInSorted_Attrib()
126 if (attrib < midAttrib) in FindInSorted_Attrib()
153 int CExtToIconMap::GetIconIndex(DWORD attrib, const wchar_t *fileName /*, UString *typeName */) in GetIconIndex() argument
176 if ((attrib & FILE_ATTRIBUTE_DIRECTORY) != 0 || dotPos < 0) in GetIconIndex()
179 int index = FindInSorted_Attrib(_attribMap, attrib, insertPos); in GetIconIndex()
191 , attrib, pair.IconIndex in GetIconIndex()
201 pair.Attrib = attrib; in GetIconIndex()
242 GetRealIconIndex(us2fs(fileName + dotPos), attrib, pair.IconIndex); in GetIconIndex()