Επεξεργασία

Κοινή χρήση μέσω


SHSTOCKICONID enumeration (shellapi.h)

Used by SHGetStockIconInfo to identify which stock system icon to retrieve.

Syntax

typedef enum SHSTOCKICONID {
  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 = 181
} ;

Constants

 
SIID_DOCNOASSOC
Value: 0

Document of a type with no associated application.
SIID_DOCASSOC
Value: 1

Document of a type with an associated application.
SIID_APPLICATION
Value: 2

Generic application with no custom icon.
SIID_FOLDER
Value: 3

Folder (generic, unspecified state).
SIID_FOLDEROPEN
Value: 4

Folder (open).
SIID_DRIVE525
Value: 5

5.25-inch disk drive.
SIID_DRIVE35
Value: 6

3.5-inch disk drive.
SIID_DRIVEREMOVE
Value: 7

Removable drive.
SIID_DRIVEFIXED
Value: 8

Fixed drive (hard disk).
SIID_DRIVENET
Value: 9

Network drive (connected).
SIID_DRIVENETDISABLED
Value: 10

Network drive (disconnected).
SIID_DRIVECD
Value: 11

CD drive.
SIID_DRIVERAM
Value: 12

RAM disk drive.
SIID_WORLD
Value: 13

The entire network.
SIID_SERVER
Value: 15

A computer on the network.
SIID_PRINTER
Value: 16

A local printer or print destination.
SIID_MYNETWORK
Value: 17

The Network virtual folder (FOLDERID_NetworkFolder/CSIDL_NETWORK).
SIID_FIND
Value: 22

The Search feature.
SIID_HELP
Value: 23

The Help and Support feature.
SIID_SHARE
Value: 28

Overlay for a shared item.
SIID_LINK
Value: 29

Overlay for a shortcut.
SIID_SLOWFILE
Value: 30

Overlay for items that are expected to be slow to access.
SIID_RECYCLER
Value: 31

The Recycle Bin (empty).
SIID_RECYCLERFULL
Value: 32

The Recycle Bin (not empty).
SIID_MEDIACDAUDIO
Value: 40

Audio CD media.
SIID_LOCK
Value: 47

Security lock.
SIID_AUTOLIST
Value: 49

A virtual folder that contains the results of a search.
SIID_PRINTERNET
Value: 50

A network printer.
SIID_SERVERSHARE
Value: 51

A server shared on a network.
SIID_PRINTERFAX
Value: 52

A local fax printer.
SIID_PRINTERFAXNET
Value: 53

A network fax printer.
SIID_PRINTERFILE
Value: 54

A file that receives the output of a Print to file operation.
SIID_STACK
Value: 55

A category that results from a Stack by command to organize the contents of a folder.
SIID_MEDIASVCD
Value: 56

Super Video CD (SVCD) media.
SIID_STUFFEDFOLDER
Value: 57

A folder that contains only subfolders as child items.
SIID_DRIVEUNKNOWN
Value: 58

Unknown drive type.
SIID_DRIVEDVD
Value: 59

DVD drive.
SIID_MEDIADVD
Value: 60

DVD media.
SIID_MEDIADVDRAM
Value: 61

DVD-RAM media.
SIID_MEDIADVDRW
Value: 62

DVD-RW media.
SIID_MEDIADVDR
Value: 63

DVD-R media.
SIID_MEDIADVDROM
Value: 64

DVD-ROM media.
SIID_MEDIACDAUDIOPLUS
Value: 65

CD+ (enhanced audio CD) media.
SIID_MEDIACDRW
Value: 66

CD-RW media.
SIID_MEDIACDR
Value: 67

CD-R media.
SIID_MEDIACDBURN
Value: 68

A writable CD in the process of being burned.
SIID_MEDIABLANKCD
Value: 69

Blank writable CD media.
SIID_MEDIACDROM
Value: 70

CD-ROM media.
SIID_AUDIOFILES
Value: 71

An audio file.
SIID_IMAGEFILES
Value: 72

An image file.
SIID_VIDEOFILES
Value: 73

A video file.
SIID_MIXEDFILES
Value: 74

A mixed file.
SIID_FOLDERBACK
Value: 75

Folder back.
SIID_FOLDERFRONT
Value: 76

Folder front.
SIID_SHIELD
Value: 77

Security shield. Use for UAC prompts only.
SIID_WARNING
Value: 78

Warning.
SIID_INFO
Value: 79

Informational.
SIID_ERROR
Value: 80

Error.
SIID_KEY
Value: 81

Key.
SIID_SOFTWARE
Value: 82

Software.
SIID_RENAME
Value: 83

A UI item, such as a button, that issues a rename command.
SIID_DELETE
Value: 84

A UI item, such as a button, that issues a delete command.
SIID_MEDIAAUDIODVD
Value: 85

Audio DVD media.
SIID_MEDIAMOVIEDVD
Value: 86

Movie DVD media.
SIID_MEDIAENHANCEDCD
Value: 87

Enhanced CD media.
SIID_MEDIAENHANCEDDVD
Value: 88

Enhanced DVD media.
SIID_MEDIAHDDVD
Value: 89

High definition DVD media in the HD DVD format.
SIID_MEDIABLURAY
Value: 90

High definition DVD media in the Blu-ray Disc™ format.
SIID_MEDIAVCD
Value: 91

Video CD (VCD) media.
SIID_MEDIADVDPLUSR
Value: 92

DVD+R media.
SIID_MEDIADVDPLUSRW
Value: 93

DVD+RW media.
SIID_DESKTOPPC
Value: 94

A desktop computer.
SIID_MOBILEPC
Value: 95

A mobile computer (laptop).
SIID_USERS
Value: 96

The User Accounts Control Panel item.
SIID_MEDIASMARTMEDIA
Value: 97

Smart media.
SIID_MEDIACOMPACTFLASH
Value: 98

CompactFlash media.
SIID_DEVICECELLPHONE
Value: 99

A cell phone.
SIID_DEVICECAMERA
Value: 100

A digital camera.
SIID_DEVICEVIDEOCAMERA
Value: 101

A digital video camera.
SIID_DEVICEAUDIOPLAYER
Value: 102

An audio player.
SIID_NETWORKCONNECT
Value: 103

Connect to network.
SIID_INTERNET
Value: 104

The Network and Internet Control Panel item.
SIID_ZIPFILE
Value: 105

A compressed file with a .zip file name extension.
SIID_SETTINGS
Value: 106

The Additional Options Control Panel item.
SIID_DRIVEHDDVD
Value: 132

Windows Vista with Service Pack 1 (SP1) and later. High definition DVD drive (any type - HD DVD-ROM, HD DVD-R, HD-DVD-RAM) that uses the HD DVD format.
SIID_DRIVEBD
Value: 133

Windows Vista with SP1 and later. High definition DVD drive (any type - BD-ROM, BD-R, BD-RE) that uses the Blu-ray Disc format.
SIID_MEDIAHDDVDROM
Value: 134

Windows Vista with SP1 and later. High definition DVD-ROM media in the HD DVD-ROM format.
SIID_MEDIAHDDVDR
Value: 135

Windows Vista with SP1 and later. High definition DVD-R media in the HD DVD-R format.
SIID_MEDIAHDDVDRAM
Value: 136

Windows Vista with SP1 and later. High definition DVD-RAM media in the HD DVD-RAM format.
SIID_MEDIABDROM
Value: 137

Windows Vista with SP1 and later. High definition DVD-ROM media in the Blu-ray Disc BD-ROM format.
SIID_MEDIABDR
Value: 138

Windows Vista with SP1 and later. High definition write-once media in the Blu-ray Disc BD-R format.
SIID_MEDIABDRE
Value: 139

Windows Vista with SP1 and later. High definition read/write media in the Blu-ray Disc BD-RE format.
SIID_CLUSTEREDDRIVE
Value: 140

Windows Vista with SP1 and later. A cluster disk array.
SIID_MAX_ICONS
Value: 181
The highest valid value in the enumeration. Values over 160 are Windows 7-only icons.

Remarks

SIID_INVALID, with a value of -1, indicates an invalid SHSTOCKICONID value.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header shellapi.h