Lines Matching refs:psfi

431                                 SHFILEINFOW *psfi, UINT sizeofpsfi, UINT flags )  in SHGetFileInfoW()  argument
447 psfi, psfi ? psfi->dwAttributes : 0, sizeofpsfi, flags); in SHGetFileInfoW()
453 if (psfi != NULL) in SHGetFileInfoW()
455 psfi->szDisplayName[0] = '\0'; in SHGetFileInfoW()
456 psfi->szTypeName[0] = '\0'; in SHGetFileInfoW()
457 psfi->hIcon = NULL; in SHGetFileInfoW()
483 … hr2 = SHELL32_AssocGetFSDirectoryDescription(psfi->szTypeName, _countof(psfi->szTypeName)); in SHGetFileInfoW()
485 … hr2 = SHELL32_AssocGetFileDescription(path, psfi->szTypeName, _countof(psfi->szTypeName)); in SHGetFileInfoW()
518 if (psfi == NULL) in SHGetFileInfoW()
556 psfi->dwAttributes = 0xffffffff; in SHGetFileInfoW()
558 … hr = IShellFolder_GetAttributesOf(psfParent, 1, (LPCITEMIDLIST*)&pidlLast, &psfi->dwAttributes); in SHGetFileInfoW()
565 psfi->dwAttributes = 0; in SHGetFileInfoW()
573 psfi->szDisplayName[0] = UNICODE_NULL; in SHGetFileInfoW()
576 StrRetToStrNW(psfi->szDisplayName, _countof(psfi->szDisplayName), &str, pidlLast); in SHGetFileInfoW()
584 psfi->szTypeName[0] = UNICODE_NULL; in SHGetFileInfoW()
585 …hr = SHELL_GetDetailsOfToBuffer(psfParent, pidlLast, col, psfi->szTypeName, _countof(psfi->szTypeN… in SHGetFileInfoW()
622 lstrcpyW(psfi->szDisplayName, swShell32Name); in SHGetFileInfoW()
623 psfi->iIcon = -IDI_SHELL_FOLDER; in SHGetFileInfoW()
634 HCR_GetIconW(sTemp, sTemp, NULL, MAX_PATH, &psfi->iIcon)) in SHGetFileInfoW()
637 strcpyW(psfi->szDisplayName, sTemp); in SHGetFileInfoW()
641 strcpyW(psfi->szDisplayName, szFullPath); in SHGetFileInfoW()
662 lstrcpyW (psfi->szDisplayName, szLocation); in SHGetFileInfoW()
663 psfi->iIcon = iIndex; in SHGetFileInfoW()
682 psfi->iIcon = SIC_GetIconIndex(swShell32Name, -IDI_SHELL_FOLDER, 0); in SHGetFileInfoW()
685 psfi->iIcon = 0; in SHGetFileInfoW()
696 psfi->iIcon = SIC_GetIconIndex(sTemp,icon_idx,0); in SHGetFileInfoW()
697 if (psfi->iIcon == -1) in SHGetFileInfoW()
698 psfi->iIcon = 0; in SHGetFileInfoW()
707 &psfi->hIcon, 0, 1, 0); in SHGetFileInfoW()
712 &psfi->hIcon, 0, 1, 0); in SHGetFileInfoW()
716 psfi->iIcon = icon_idx; in SHGetFileInfoW()
725 uGilFlags, &(psfi->iIcon)))) in SHGetFileInfoW()
743 psfi->hIcon = ImageList_GetIcon( small_icons, psfi->iIcon, ILD_NORMAL); in SHGetFileInfoW()
745 psfi->hIcon = ImageList_GetIcon( big_icons, psfi->iIcon, ILD_NORMAL); in SHGetFileInfoW()
759 psfi->hIcon, psfi->iIcon, psfi->dwAttributes, in SHGetFileInfoW()
760 debugstr_w(psfi->szDisplayName), debugstr_w(psfi->szTypeName), ret); in SHGetFileInfoW()
774 SHFILEINFOA *psfi, UINT sizeofpsfi, in SHGetFileInfoA() argument
796 if (psfi) in SHGetFileInfoA()
798 temppsfi.hIcon = psfi->hIcon; in SHGetFileInfoA()
799 temppsfi.iIcon = psfi->iIcon; in SHGetFileInfoA()
800 temppsfi.dwAttributes = psfi->dwAttributes; in SHGetFileInfoA()
803 psfi->hIcon = temppsfi.hIcon; in SHGetFileInfoA()
804 psfi->iIcon = temppsfi.iIcon; in SHGetFileInfoA()
805 psfi->dwAttributes = temppsfi.dwAttributes; in SHGetFileInfoA()
808 psfi->szDisplayName, sizeof(psfi->szDisplayName), NULL, NULL); in SHGetFileInfoA()
811 psfi->szTypeName, sizeof(psfi->szTypeName), NULL, NULL); in SHGetFileInfoA()