shell-icons

    3熱度

    3回答

    我綁SHGetFileInfo和ExtractIconEx,都返回一個正常的32x32圖標和16x16只有16種顏色,它看起來很糟糕。如何提取全綵圖標? 我的代碼 SHFILEINFO shinfo = new SHFILEINFO(); IntPtr hImgSmall = SHGetFileInfo(fileName, 0, ref shinfo, (uint)Marshal.SizeOf(

    3熱度

    1回答

    這是我做過什麼: LPMALLOC malloc; LPITEMIDLIST pidl; SHFILEINFO FileInfo; SFGAOF sfGao; if (SUCCEEDED(SHGetMalloc(&malloc)) { if (SUCCEEDED(SHParseDisplayName(strDirPath, NULL, &pidl, SFGAO_FOLDER,