• Home
  • Raw
  • Download

Lines Matching +full:attrib +full:-

32     shFileInfo.iIcon = -1;  in Shell_GetFileInfo_SysIconIndex_for_CSIDL()
42 pMalloc->Free(pidl); in Shell_GetFileInfo_SysIconIndex_for_CSIDL()
43 pMalloc->Release(); in Shell_GetFileInfo_SysIconIndex_for_CSIDL()
51 return -1; in Shell_GetFileInfo_SysIconIndex_for_CSIDL()
56 typedef DWORD_PTR (WINAPI * Func_SHGetFileInfoW)(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, …
74 static DWORD_PTR My_SHGetFileInfoW(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFileInf… in My_SHGetFileInfoW() argument
78 return g_SHGetFileInfo_Init.f_SHGetFileInfoW(pszPath, attrib, psfi, cbFileInfo, uFlags); in My_SHGetFileInfoW()
83 CFSTR path, DWORD attrib, int &iconIndex) in Shell_GetFileInfo_SysIconIndex_for_Path_attrib_iconIndexRef() argument
90 shFileInfo.iIcon = -1; // optional in Shell_GetFileInfo_SysIconIndex_for_Path_attrib_iconIndexRef()
92 attrib ? attrib : FILE_ATTRIBUTE_ARCHIVE, in Shell_GetFileInfo_SysIconIndex_for_Path_attrib_iconIndexRef()
103 shFileInfo.iIcon = -1; // optional in Shell_GetFileInfo_SysIconIndex_for_Path_attrib_iconIndexRef()
105 attrib ? attrib : FILE_ATTRIBUTE_ARCHIVE, in Shell_GetFileInfo_SysIconIndex_for_Path_attrib_iconIndexRef()
117 // iconIndex = -1; // for debug in Shell_GetFileInfo_SysIconIndex_for_Path_attrib_iconIndexRef()
122 int Shell_GetFileInfo_SysIconIndex_for_Path(CFSTR path, DWORD attrib) in Shell_GetFileInfo_SysIconIndex_for_Path() argument
124 int iconIndex = -1; in Shell_GetFileInfo_SysIconIndex_for_Path()
126 path, attrib, iconIndex)) in Shell_GetFileInfo_SysIconIndex_for_Path()
127 iconIndex = -1; in Shell_GetFileInfo_SysIconIndex_for_Path()
133 CFSTR path, DWORD attrib, Int32 *iconIndex) in Shell_GetFileInfo_SysIconIndex_for_Path_return_HRESULT() argument
135 *iconIndex = -1; in Shell_GetFileInfo_SysIconIndex_for_Path_return_HRESULT()
138 path, attrib, iconIndexTemp)) in Shell_GetFileInfo_SysIconIndex_for_Path_return_HRESULT()
147 DWORD_PTR Shell_GetFileInfo_SysIconIndex_for_Path(const UString &fileName, DWORD attrib, int &iconI…
154 …DWORD_PTR res = ::SHGetFileInfoA(GetSystemString(fileName), FILE_ATTRIBUTE_ARCHIVE | attrib, &shFi…
166 DWORD_PTR res = ::My_SHGetFileInfoW(fileName, FILE_ATTRIBUTE_ARCHIVE | attrib, &shFileInfo,
176 static int FindInSorted_Attrib(const CRecordVector<CAttribIconPair> &vect, DWORD attrib, unsigned &… in FindInSorted_Attrib() argument
182 const DWORD midAttrib = vect[mid].Attrib; in FindInSorted_Attrib()
183 if (attrib == midAttrib) in FindInSorted_Attrib()
185 if (attrib < midAttrib) in FindInSorted_Attrib()
191 return -1; in FindInSorted_Attrib()
209 return -1; in FindInSorted_Ext()
215 int CExtToIconMap::GetIconIndex(DWORD attrib, const wchar_t *fileName /*, UString *typeName */) in GetIconIndex() argument
217 int dotPos = -1; in GetIconIndex()
227 // if (IS_PATH_SEPAR(c) || c == ':') dotPos = -1; in GetIconIndex()
234 sprintf(s, "SPEC i = %3d, attr = %7x", _attribMap.Size(), attrib); in GetIconIndex()
240 if ((attrib & FILE_ATTRIBUTE_DIRECTORY) || dotPos < 0) in GetIconIndex()
244 return -1; in GetIconIndex()
246 const int index = FindInSorted_Attrib(_attribMap, attrib, insertPos); in GetIconIndex()
258 , attrib in GetIconIndex()
262 || attrib < (1u << 15)) // we want to put all items with basic attribs to cache in GetIconIndex()
266 sprintf(s, "i = %3d, attr = %7x", _attribMap.Size(), attrib); in GetIconIndex()
269 pair.Attrib = attrib; in GetIconIndex()
276 attrib = (attrib & FILE_ATTRIBUTE_DIRECTORY) ? in GetIconIndex()
282 (attrib & FILE_ATTRIBUTE_COMPRESSED) ? in GetIconIndex()
321 attrib & FILE_ATTRIBUTE_COMPRESSED ? in GetIconIndex()