Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 880
    • Issues 880
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 47
    • Merge requests 47
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • GLib
  • Merge requests
  • !2020

GWin32Mount: Remove SHGetFileInfoW()

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged LRN requested to merge lrn/glib:remove-shgetfileinfo into master Mar 30, 2021
  • Overview 16
  • Commits 2
  • Pipelines 3
  • Changes 1

This function can cause significant delays when the mounted volume is disconnected or just weird. Use IExtractIconW::GetIconLocation() (for icon) and IShellFolder::GetDisplayNameOf() (for display name) instead.

Theoretically, this should require COM to be initialized, but in my tests this code worked just fine without calling CoInitializeEx().

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: remove-shgetfileinfo