Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b81eb2ee
Commit
b81eb2ee
authored
Jan 11, 2013
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Jan 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add definitions for SHGetStockIconInfo.
parent
b3f71fde
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
127 additions
and
0 deletions
+127
-0
shellapi.h
include/shellapi.h
+127
-0
No files found.
include/shellapi.h
View file @
b81eb2ee
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment