콘텐츠로 이동

IShellIconProvider interface

이 콘텐츠는 아직 번역되지 않았습니다.

Platform seam for the OS shell’s file-type icons. The active implementation is exposed by the registered platform host (native implementations live in the platform assemblies); the default falls back to the bundled vector icons.

public interface IShellIconProvider
name description
GetIcon(…) Icon for a file type. Non-blocking (by extension/type only, never touches path on disk, so a disconnected share/spun-down drive cannot block the UI). Null falls back to vector icons.
GetPlaceIcon(…) Distinctive icon for a sidebar place, resolved from a fixed system resource (never stats the real path - safe for redirected/network folders). Null falls back to vector.
GetRealIcon(…) The actual per-file/volume icon by real path (embedded exe icon, custom volume icon). Touches the file system, so callers must invoke it off the UI thread. Null if unavailable.