Skip to content

Shell32 class

FireBlade edited this page Aug 25, 2025 · 1 revision

Shell32 class

Declares P/Invoke functions from Shell32.dll.

Functions

  • bool ShowPickIconDialog(nint, string, int, out string, out int) (wraps PickIconDlg)
  • bool ShowPickIconDialog(string, int, out string, out int) (wraps PickIconDlg)
  • bool ShowPickIconDialog(nint, string, int, out System.Drawing.Icon) (wraps PickIconDlg)
  • bool ShowPickIconDialog(string, int, out System.Drawing.Icon) (wraps PickIconDlg)
  • bool ShellAbout(nint, string, string?, Icon? = null) (wraps ShellAboutW)
  • bool ShellAbout(string, string, Icon? = null) (wraps ShellAboutW)
  • bool DestroyIcon(nint) (wraps DestroyIcon)
  • WindowsFile? GetFileInfo(string) (wraps SHGetFileInfoW)
  • nuint GetFileInfoEx(string, WindowsFileAttributes, SHGetFileInfoFlags, ref SHFILEINFO) (wraps SHGetFileInfoW)
  • HRESULT ShowFileProperties(params string[]) (wraps SHMultiFileProperties)

Structs and enums

  • SHFILEINFO struct
  • SHGetFileInfoFlags enumeration

Constants

  • MAX_PATH = 260

Clone this wiki locally