Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than shell32, prefix the name with the module name and a period.
[DllImport("Shell32.dll", SetLastError = false)]
Declare Function SHGetStockIconInfo Lib "Shell32.dll" (TODO) As TODO
Alternative Managed API:
System.Drawing.SystemIcons, although note that not all icons are included and at least the Shield icon is incorrect on Win 7 / Win 2008.
SHGetStockIconInfo is supported on Windows Vista / 2008 or later.
Tips & Tricks:
Please add some!
SHSTOCKICONINFO sii = new SHSTOCKICONINFO();
button4.Image = Icon.FromHandle(sii.hIcon).ToBitmap();
Public Shared Function GetShildIcon(iconType As SHSTOCKICONID) As IntPtr
SHSTOCKICONID is used by SHGetStockIconInfo to identify a stock icon.
12/13/2012 12:39:00 PM - -220.127.116.11
Used by SHGetStockIconInfo to determine the information to be retrieved for a stock icon.
12/13/2012 12:38:01 PM - -18.104.22.168
Used by SHGetStockIconInfo
12/13/2012 12:44:43 PM - -22.214.171.124
Retrieves information about a stock icon
3/1/2017 12:58:51 PM - -126.96.36.199
Please edit this page!
Do you have...