Commit b81eb2ee authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

include: Add definitions for SHGetStockIconInfo.

parent b3f71fde
...@@ -495,6 +495,133 @@ HRESULT WINAPI SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO); ...@@ -495,6 +495,133 @@ HRESULT WINAPI SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO);
* Misc * Misc
*/ */
typedef enum SHSTOCKICONID
{
SIID_INVALID=-1,
SIID_DOCNOASSOC,
SIID_DOCASSOC,
SIID_APPLICATION,
SIID_FOLDER,
SIID_FOLDEROPEN,
SIID_DRIVE525,
SIID_DRIVE35,
SIID_DRIVERREMOVE,
SIID_DRIVERFIXED,
SIID_DRIVERNET,
SIID_DRIVERNETDISABLE,
SIID_DRIVERCD,
SIID_DRIVERRAM,
SIID_WORLD,
/* Missing: 14 */
SIID_SERVER = 15,
SIID_PRINTER,
SIID_MYNETWORK,
/* Missing: 18 - 21 */
SIID_FIND = 22,
SIID_HELP,
/* Missing: 24 - 27 */
SIID_SHARE = 28,
SIID_LINK,
SIID_SLOWFILE,
SIID_RECYCLER,
SIID_RECYCLERFULL,
/* Missing: 33 - 39 */
SIID_MEDIACDAUDIO = 40,
/* Missing: 41 - 46 */
SIID_LOCK = 47,
/* Missing: 48 */
SIID_AUTOLIST = 49,
SIID_PRINTERNET,
SIID_SERVERSHARE,
SIID_PRINTERFAX,
SIID_PRINTERFAXNET,
SIID_PRINTERFILE,
SIID_STACK,
SIID_MEDIASVCD,
SIID_STUFFEDFOLDER,
SIID_DRIVEUNKNOWN,
SIID_DRIVEDVD,
SIID_MEDIADVD,
SIID_MEDIADVDRAM,
SIID_MEDIADVDRW,
SIID_MEDIADVDR,
SIID_MEDIADVDROM,
SIID_MEDIACDAUDIOPLUS,
SIID_MEDIACDRW,
SIID_MEDIACDR,
SIID_MEDIACDBURN,
SIID_MEDIABLANKCD,
SIID_MEDIACDROM,
SIID_AUDIOFILES,
SIID_IMAGEFILES,
SIID_VIDEOFILES,
SIID_MIXEDFILES,
SIID_FOLDERBACK,
SIID_FOLDERFRONT,
SIID_SHIELD,
SIID_WARNING,
SIID_INFO,
SIID_ERROR,
SIID_KEY,
SIID_SOFTWARE,
SIID_RENAME,
SIID_DELETE,
SIID_MEDIAAUDIODVD,
SIID_MEDIAMOVIEDVD,
SIID_MEDIAENHANCEDCD,
SIID_MEDIAENHANCEDDVD,
SIID_MEDIAHDDVD,
SIID_MEDIABLUERAY,
SIID_MEDIAVCD,
SIID_MEDIADVDPLUSR,
SIID_MEDIADVDPLUSRW,
SIID_DESKTOPPC,
SIID_MOBILEPC,
SIID_USERS,
SIID_MEDIASMARTMEDIA,
SIID_MEDIACOMPACTFLASH,
SIID_DEVICECELLPHONE,
SIID_DEVICECAMERA,
SIID_DEVICEVIDEOCAMERA,
SIID_DEVICEAUDIOPLAYER,
SIID_NETWORKCONNECT,
SIID_INTERNET,
SIID_ZIPFILE,
SIID_SETTINGS,
/* Missing: 107 - 131 */
SIID_DRIVEHDDVD = 132,
SIID_DRIVEBD,
SIID_MEDIAHDDVDROM,
SIID_MEDIAHDDVDR,
SIID_MEDIAHDDVDRAM,
SIID_MEDIABDROM,
SIID_MEDIABDR,
SIID_MEDIABDRE,
SIID_CLUSTEREDDRIVE,
/* Missing: 141 - 174 */
SIID_MAX_ICONS = 175
}SHSTOCKICONID;
typedef struct _SHSTOCKICONINFO
{
DWORD cbSize;
HICON hIcon;
INT iSysImageIndex;
INT iIcon;
WCHAR szPath[MAX_PATH];
} SHSTOCKICONINFO;
/* flags for SHGetStockIconInfo */
#define SHGSI_ICONLOCATION 0
#define SHGSI_ICON SHGFI_ICON
#define SHGSI_SYSICONINDEX SHGFI_SYSICONINDEX
#define SHGSI_LINKOVERLAY SHGFI_LINKOVERLAY
#define SHGSI_SELECTED SHGFI_SELECTED
#define SHGSI_LARGEICON SHGFI_LARGEICON
#define SHGSI_SMALLICON SHGFI_SMALLICON
#define SHGSI_SHELLICONSIZE SHGFI_SHELLICONSIZE
HRESULT WINAPI SHGetStockIconInfo(SHSTOCKICONID, UINT, SHSTOCKICONINFO*);
LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR,int*); LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR,int*);
HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT); HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT);
HICON WINAPI ExtractIconW(HINSTANCE,LPCWSTR,UINT); HICON WINAPI ExtractIconW(HINSTANCE,LPCWSTR,UINT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment