public enum SHSTOCKICONID : uint
{
/// <summary>Document of a type with no associated application.</summary>
SIID_DOCNOASSOC = 0,
/// <summary>Document of a type with an associated application.</summary>
SIID_DOCASSOC = 1,
/// <summary>Generic application with no custom icon.</summary>
SIID_APPLICATION = 2,
/// <summary>Folder (generic, unspecified state).</summary>
SIID_FOLDER = 3,
/// <summary>Folder (open).</summary>
SIID_FOLDEROPEN = 4,
/// <summary>5.25-inch disk drive.</summary>
SIID_DRIVE525 = 5,
/// <summary>3.5-inch disk drive.</summary>
SIID_DRIVE35 = 6,
/// <summary>Removable drive.</summary>
SIID_DRIVEREMOVE = 7,
/// <summary>Fixed drive (hard disk).</summary>
SIID_DRIVEFIXED = 8,
/// <summary>Network drive (connected).</summary>
SIID_DRIVENET = 9,
/// <summary>Network drive (disconnected).</summary>
SIID_DRIVENETDISABLED = 10,
/// <summary>CD drive.</summary>
SIID_DRIVECD = 11,
/// <summary>RAM disk drive.</summary>
SIID_DRIVERAM = 12,
/// <summary>The entire network.</summary>
SIID_WORLD = 13,
/// <summary>A computer on the network.</summary>
SIID_SERVER = 15,
/// <summary>A local printer or print destination.</summary>
SIID_PRINTER = 16,
/// <summary>The Network virtual folder (FOLDERID_NetworkFolder/CSIDL_NETWORK).</summary>
SIID_MYNETWORK = 17,
/// <summary>The Search feature.</summary>
SIID_FIND = 22,
/// <summary>The Help and Support feature.</summary>
SIID_HELP = 23,
/// <summary>Overlay for a shared item.</summary>
SIID_SHARE = 28,
/// <summary>Overlay for a shortcut.</summary>
SIID_LINK = 29,
/// <summary>Overlay for items that are expected to be slow to access.</summary>
SIID_SLOWFILE = 30,
/// <summary>The Recycle Bin (empty).</summary>
SIID_RECYCLER = 31,
/// <summary>The Recycle Bin (not empty).</summary>
SIID_RECYCLERFULL = 32,
/// <summary>Audio CD media.</summary>
SIID_MEDIACDAUDIO = 40,
/// <summary>Security lock.</summary>
SIID_LOCK = 47,
/// <summary>A virtual folder that contains the results of a search.</summary>
SIID_AUTOLIST = 49,
/// <summary>A network printer.</summary>
SIID_PRINTERNET = 50,
/// <summary>A server shared on a network.</summary>
SIID_SERVERSHARE = 51,
/// <summary>A local fax printer.</summary>
SIID_PRINTERFAX = 52,
/// <summary>A network fax printer.</summary>
SIID_PRINTERFAXNET = 53,
/// <summary>A file that receives the output of a Print to file operation.</summary>
SIID_PRINTERFILE = 54,
/// <summary>A category that results from a Stack by command to organize the contents of a folder.</summary>
SIID_STACK = 55,
/// <summary>Super Video CD (SVCD) media.</summary>
SIID_MEDIASVCD = 56,
/// <summary>A folder that contains only subfolders as child items.</summary>
SIID_STUFFEDFOLDER = 57,
/// <summary>Unknown drive type.</summary>
SIID_DRIVEUNKNOWN = 58,
/// <summary>DVD drive.</summary>
SIID_DRIVEDVD = 59,
/// <summary>DVD media.</summary>
SIID_MEDIADVD = 60,
/// <summary>DVD-RAM media.</summary>
SIID_MEDIADVDRAM = 61,
/// <summary>DVD-RW media.</summary>
SIID_MEDIADVDRW = 62,
/// <summary>DVD-R media.</summary>
SIID_MEDIADVDR = 63,
/// <summary>DVD-ROM media.</summary>
SIID_MEDIADVDROM = 64,
/// <summary>CD+ (enhanced audio CD) media.</summary>
SIID_MEDIACDAUDIOPLUS = 65,
/// <summary>CD-RW media.</summary>
SIID_MEDIACDRW = 66,
/// <summary>CD-R media.</summary>
SIID_MEDIACDR = 67,
/// <summary>A writable CD in the process of being burned.</summary>
SIID_MEDIACDBURN = 68,
/// <summary>Blank writable CD media.</summary>
SIID_MEDIABLANKCD = 69,
/// <summary>CD-ROM media.</summary>
SIID_MEDIACDROM = 70,
/// <summary>An audio file.</summary>
SIID_AUDIOFILES = 71,
/// <summary>An image file.</summary>
SIID_IMAGEFILES = 72,
/// <summary>A video file.</summary>
SIID_VIDEOFILES = 73,
/// <summary>A mixed file.</summary>
SIID_MIXEDFILES = 74,
/// <summary>Folder back.</summary>
SIID_FOLDERBACK = 75,
/// <summary>Folder front.</summary>
SIID_FOLDERFRONT = 76,
/// <summary>Security shield. Use for UAC prompts only.</summary>
SIID_SHIELD = 77,
/// <summary>Warning.</summary>
SIID_WARNING = 78,
/// <summary>Informational.</summary>
SIID_INFO = 79,
/// <summary>Error.</summary>
SIID_ERROR = 80,
/// <summary>Key.</summary>
SIID_KEY = 81,
/// <summary>Software.</summary>
SIID_SOFTWARE = 82,
/// <summary>A UI item, such as a button, that issues a rename command.</summary>
SIID_RENAME = 83,
/// <summary>A UI item, such as a button, that issues a delete command.</summary>
SIID_DELETE = 84,
/// <summary>Audio DVD media.</summary>
SIID_MEDIAAUDIODVD = 85,
/// <summary>Movie DVD media.</summary>
SIID_MEDIAMOVIEDVD = 86,
/// <summary>Enhanced CD media.</summary>
SIID_MEDIAENHANCEDCD = 87,
/// <summary>Enhanced DVD media.</summary>
SIID_MEDIAENHANCEDDVD = 88,
/// <summary>High definition DVD media in the HD DVD format.</summary>
SIID_MEDIAHDDVD = 89,
/// <summary>High definition DVD media in the Blu-ray Discâ„¢ format.</summary>
SIID_MEDIABLURAY = 90,
/// <summary>Video CD (VCD) media.</summary>
SIID_MEDIAVCD = 91,
/// <summary>DVD+R media.</summary>
SIID_MEDIADVDPLUSR = 92,
/// <summary>DVD+RW media.</summary>
SIID_MEDIADVDPLUSRW = 93,
/// <summary>A desktop computer.</summary>
SIID_DESKTOPPC = 94,
/// <summary>A mobile computer (laptop).</summary>
SIID_MOBILEPC = 95,
/// <summary>The User Accounts Control Panel item.</summary>
SIID_USERS = 96,
/// <summary>Smart media.</summary>
SIID_MEDIASMARTMEDIA = 97,
/// <summary>CompactFlash media.</summary>
SIID_MEDIACOMPACTFLASH = 98,
/// <summary>A cell phone.</summary>
SIID_DEVICECELLPHONE = 99,
/// <summary>A digital camera.</summary>
SIID_DEVICECAMERA = 100,
/// <summary>A digital video camera.</summary>
SIID_DEVICEVIDEOCAMERA = 101,
/// <summary>An audio player.</summary>
SIID_DEVICEAUDIOPLAYER = 102,
/// <summary>Connect to network.</summary>
SIID_NETWORKCONNECT = 103,
/// <summary>The Network and Internet Control Panel item.</summary>
SIID_INTERNET = 104,
/// <summary>A compressed file with a .zip file name extension.</summary>
SIID_ZIPFILE = 105,
/// <summary>The Additional Options Control Panel item.</summary>
SIID_SETTINGS = 106,
/// <summary>High definition DVD drive (any type - HD DVD-ROM, HD DVD-R, HD-DVD-RAM) that uses the HD DVD format.</summary>
/// <remarks>Windows Vista with SP1 and later.</remarks>
SIID_DRIVEHDDVD = 132,
/// <summary>High definition DVD drive (any type - BD-ROM, BD-R, BD-RE) that uses the Blu-ray Disc format.</summary>
/// <remarks>Windows Vista with SP1 and later.</remarks>
SIID_DRIVEBD = 133,
/// <summary>High definition DVD-ROM media in the HD DVD-ROM format.</summary>
/// <remarks>Windows Vista with SP1 and later.</remarks>
SIID_MEDIAHDDVDROM = 134,
/// <summary>High definition DVD-R media in the HD DVD-R format.</summary>
/// <remarks>Windows Vista with SP1 and later.</remarks>
SIID_MEDIAHDDVDR = 135,
/// <summary>High definition DVD-RAM media in the HD DVD-RAM format.</summary>
/// <remarks>Windows Vista with SP1 and later.</remarks>
SIID_MEDIAHDDVDRAM = 136,
/// <summary>High definition DVD-ROM media in the Blu-ray Disc BD-ROM format.</summary>
/// <remarks>Windows Vista with SP1 and later.</remarks>
SIID_MEDIABDROM = 137,
/// <summary>High definition write-once media in the Blu-ray Disc BD-R format.</summary>
/// <remarks>Windows Vista with SP1 and later.</remarks>
SIID_MEDIABDR = 138,
/// <summary>High definition read/write media in the Blu-ray Disc BD-RE format.</summary>
/// <remarks>Windows Vista with SP1 and later.</remarks>
SIID_MEDIABDRE = 139,
/// <summary>A cluster disk array.</summary>
/// <remarks>Windows Vista with SP1 and later.</remarks>
SIID_CLUSTEREDDRIVE = 140,
/// <summary>The highest valid value in the enumeration.</summary>
/// <remarks>Values over 160 are Windows 7-only icons.</remarks>
SIID_MAX_ICONS = 175
}
Public Enum SHSTOCKICONID As UInteger
SIID_DOCNOASSOC = 0
SIID_DOCASSOC = 1
SIID_APPLICATION = 2
SIID_FOLDER = 3
SIID_FOLDEROPEN = 4
SIID_DRIVE525 = 5
SIID_DRIVE35 = 6
SIID_DRIVEREMOVE = 7
SIID_DRIVEFIXED = 8
SIID_DRIVENET = 9
SIID_DRIVENETDISABLED = 10
SIID_DRIVECD = 11
SIID_DRIVERAM = 12
SIID_WORLD = 13
SIID_SERVER = 15
SIID_PRINTER = 16
SIID_MYNETWORK = 17
SIID_FIND = 22
SIID_HELP = 23
SIID_SHARE = 28
SIID_LINK = 29
SIID_SLOWFILE = 30
SIID_RECYCLER = 31
SIID_RECYCLERFULL = 32
SIID_MEDIACDAUDIO = 40
SIID_LOCK = 47
SIID_AUTOLIST = 49
SIID_PRINTERNET = 50
SIID_SERVERSHARE = 51
SIID_PRINTERFAX = 52
SIID_PRINTERFAXNET = 53
SIID_PRINTERFILE = 54
SIID_STACK = 55
SIID_MEDIASVCD = 56
SIID_STUFFEDFOLDER = 57
SIID_DRIVEUNKNOWN = 58
SIID_DRIVEDVD = 59
SIID_MEDIADVD = 60
SIID_MEDIADVDRAM = 61
SIID_MEDIADVDRW = 62
SIID_MEDIADVDR = 63
SIID_MEDIADVDROM = 64
SIID_MEDIACDAUDIOPLUS = 65
SIID_MEDIACDRW = 66
SIID_MEDIACDR = 67
SIID_MEDIACDBURN = 68
SIID_MEDIABLANKCD = 69
SIID_MEDIACDROM = 70
SIID_AUDIOFILES = 71
SIID_IMAGEFILES = 72
SIID_VIDEOFILES = 73
SIID_MIXEDFILES = 74
SIID_FOLDERBACK = 75
SIID_FOLDERFRONT = 76
SIID_SHIELD = 77
SIID_WARNING = 78
SIID_INFO = 79
SIID_ERROR = 80
SIID_KEY = 81
SIID_SOFTWARE = 82
SIID_RENAME = 83
SIID_DELETE = 84
SIID_MEDIAAUDIODVD = 85
SIID_MEDIAMOVIEDVD = 86
SIID_MEDIAENHANCEDCD = 87
SIID_MEDIAENHANCEDDVD = 88
SIID_MEDIAHDDVD = 89
SIID_MEDIABLURAY = 90
SIID_MEDIAVCD = 91
SIID_MEDIADVDPLUSR = 92
SIID_MEDIADVDPLUSRW = 93
SIID_DESKTOPPC = 94
SIID_MOBILEPC = 95
SIID_USERS = 96
SIID_MEDIASMARTMEDIA = 97
SIID_MEDIACOMPACTFLASH = 98
SIID_DEVICECELLPHONE = 99
SIID_DEVICECAMERA = 100
SIID_DEVICEVIDEOCAMERA = 101
SIID_DEVICEAUDIOPLAYER = 102
SIID_NETWORKCONNECT = 103
SIID_INTERNET = 104
SIID_ZIPFILE = 105
SIID_SETTINGS = 106
SIID_DRIVEHDDVD = 132
SIID_DRIVEBD = 133
SIID_MEDIAHDDVDROM = 134
SIID_MEDIAHDDVDR = 135
SIID_MEDIAHDDVDRAM = 136
SIID_MEDIABDROM = 137
SIID_MEDIABDR = 138
SIID_MEDIABDRE = 139
SIID_CLUSTEREDDRIVE = 140
SIID_MAX_ICONS = 175
End Enum
12-28-2011: Changed value of SIID_MAX_ICONS from 174 to 175 to match value stated here:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb762542(v=vs.85).aspx
Public Enum SHSTOCKICONID As UInteger
DOCNOASSOC = 0
DOCASSOC = 1
APPLICATION = 2
FOLDER = 3
FOLDEROPEN = 4
DRIVE525 = 5
DRIVE35 = 6
DRIVEREMOVE = 7
DRIVEFIXED = 8
DRIVENET = 9
DRIVENETDISABLED = 10
DRIVECD = 11
DRIVERAM = 12
WORLD = 13
SERVER = 15
PRINTER = 16
MYNETWORK = 17
FIND = 22
HELP = 23
SHARE = 28
LINK = 29
SLOWFILE = 30
RECYCLER = 31
RECYCLERFULL = 32
MEDIACDAUDIO = 40
LOCK = 47
AUTOLIST = 49
PRINTERNET = 50
SERVERSHARE = 51
PRINTERFAX = 52
PRINTERFAXNET = 53
PRINTERFILE = 54
STACK = 55
MEDIASVCD = 56
STUFFEDFOLDER = 57
DRIVEUNKNOWN = 58
DRIVEDVD = 59
MEDIADVD = 60
MEDIADVDRAM = 61
MEDIADVDRW = 62
MEDIADVDR = 63
MEDIADVDROM = 64
MEDIACDAUDIOPLUS = 65
MEDIACDRW = 66
MEDIACDR = 67
MEDIACDBURN = 68
MEDIABLANKCD = 69
MEDIACDROM = 70
AUDIOFILES = 71
IMAGEFILES = 72
VIDEOFILES = 73
MIXEDFILES = 74
FOLDERBACK = 75
FOLDERFRONT = 76
SHIELD = 77
WARNING = 78
INFO = 79
[ERROR] = 80
KEY = 81
SOFTWARE = 82
RENAME = 83
DELETE = 84
MEDIAAUDIODVD = 85
MEDIAMOVIEDVD = 86
MEDIAENHANCEDCD = 87
MEDIAENHANCEDDVD = 88
MEDIAHDDVD = 89
MEDIABLURAY = 90
MEDIAVCD = 91
MEDIADVDPLUSR = 92
MEDIADVDPLUSRW = 93
DESKTOPPC = 94
MOBILEPC = 95
USERS = 96
MEDIASMARTMEDIA = 97
MEDIACOMPACTFLASH = 98
DEVICECELLPHONE = 99
DEVICECAMERA = 100
DEVICEVIDEOCAMERA = 101
DEVICEAUDIOPLAYER = 102
NETWORKCONNECT = 103
INTERNET = 104
ZIPFILE = 105
SETTINGS = 106
DRIVEHDDVD = 132
DRIVEBD = 133
MEDIAHDDVDROM = 134
MEDIAHDDVDR = 135
MEDIAHDDVDRAM = 136
MEDIABDROM = 137
MEDIABDR = 138
MEDIABDRE = 139
CLUSTEREDDRIVE = 140
MAX_ICONS = 175
end enum
' Jens