Class Shell32
- Namespace
- AetherUtils.Core.WinForms
- Assembly
- AetherUtils.Core.dll
Wraps necessary Shell32.dll structures and functions required to retrieve Icon Handles using SHGetFileInfo. Code
courtesy of MSDN Cold Rooster Consulting case study.
[UsedImplicitly]
public class Shell32
- Inheritance
-
Shell32
- Inherited Members
- Extension Methods
Fields
BIF_BROWSEFORCOMPUTER
public const uint BIF_BROWSEFORCOMPUTER = 4096
Field Value
BIF_BROWSEFORPRINTER
public const uint BIF_BROWSEFORPRINTER = 8192
Field Value
BIF_BROWSEINCLUDEFILES
public const uint BIF_BROWSEINCLUDEFILES = 16384
Field Value
BIF_BROWSEINCLUDEURLS
public const uint BIF_BROWSEINCLUDEURLS = 128
Field Value
BIF_DONTGOBELOWDOMAIN
public const uint BIF_DONTGOBELOWDOMAIN = 2
Field Value
BIF_EDITBOX
public const uint BIF_EDITBOX = 16
Field Value
BIF_NEWDIALOGSTYLE
public const uint BIF_NEWDIALOGSTYLE = 64
Field Value
BIF_RETURNFSANCESTORS
public const uint BIF_RETURNFSANCESTORS = 8
Field Value
BIF_RETURNONLYFSDIRS
public const uint BIF_RETURNONLYFSDIRS = 1
Field Value
BIF_SHAREABLE
public const uint BIF_SHAREABLE = 32768
Field Value
BIF_STATUSTEXT
public const uint BIF_STATUSTEXT = 4
Field Value
BIF_USENEWUI
public const uint BIF_USENEWUI = 80
Field Value
BIF_VALIDATE
public const uint BIF_VALIDATE = 32
Field Value
FILE_ATTRIBUTE_DIRECTORY
public const uint FILE_ATTRIBUTE_DIRECTORY = 16
Field Value
FILE_ATTRIBUTE_NORMAL
public const uint FILE_ATTRIBUTE_NORMAL = 128
Field Value
MAX_PATH
public const int MAX_PATH = 256
Field Value
SHGFI_ADDOVERLAYS
public const uint SHGFI_ADDOVERLAYS = 32
Field Value
SHGFI_ATTRIBUTES
public const uint SHGFI_ATTRIBUTES = 2048
Field Value
SHGFI_ATTR_SPECIFIED
public const uint SHGFI_ATTR_SPECIFIED = 131072
Field Value
SHGFI_DISPLAYNAME
public const uint SHGFI_DISPLAYNAME = 512
Field Value
SHGFI_EXETYPE
public const uint SHGFI_EXETYPE = 8192
Field Value
SHGFI_ICON
public const uint SHGFI_ICON = 256
Field Value
SHGFI_ICONLOCATION
public const uint SHGFI_ICONLOCATION = 4096
Field Value
SHGFI_LARGEICON
public const uint SHGFI_LARGEICON = 0
Field Value
SHGFI_LINKOVERLAY
public const uint SHGFI_LINKOVERLAY = 32768
Field Value
SHGFI_OPENICON
public const uint SHGFI_OPENICON = 2
Field Value
SHGFI_OVERLAYINDEX
public const uint SHGFI_OVERLAYINDEX = 64
Field Value
SHGFI_PIDL
public const uint SHGFI_PIDL = 8
Field Value
SHGFI_SELECTED
public const uint SHGFI_SELECTED = 65536
Field Value
SHGFI_SHELLICONSIZE
public const uint SHGFI_SHELLICONSIZE = 4
Field Value
SHGFI_SMALLICON
public const uint SHGFI_SMALLICON = 1
Field Value
SHGFI_SYSICONINDEX
public const uint SHGFI_SYSICONINDEX = 16384
Field Value
SHGFI_TYPENAME
public const uint SHGFI_TYPENAME = 1024
Field Value
SHGFI_USEFILEATTRIBUTES
public const uint SHGFI_USEFILEATTRIBUTES = 16
Field Value
Methods
SHGetFileInfo(string, uint, ref SHFILEINFO, uint, uint)
public static extern nint SHGetFileInfo(string pszPath, uint dwFileAttributes, ref Shell32.SHFILEINFO psfi, uint cbFileInfo, uint uFlags)