Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
b81eb2ee
Commit
b81eb2ee
authored
12 years ago
by
Detlef Riekenberg
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
include: Add definitions for SHGetStockIconInfo.
parent
b3f71fde
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/shellapi.h
+127
-0
127 additions, 0 deletions
include/shellapi.h
with
127 additions
and
0 deletions
include/shellapi.h
+
127
−
0
View file @
b81eb2ee
...
...
@@ -495,6 +495,133 @@ HRESULT WINAPI SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO);
* 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
*
);
HICON
WINAPI
ExtractIconA
(
HINSTANCE
,
LPCSTR
,
UINT
);
HICON
WINAPI
ExtractIconW
(
HINSTANCE
,
LPCWSTR
,
UINT
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment