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 - -22.214.171.124
Used by SHGetStockIconInfo to determine the information to be retrieved for a stock icon.
12/13/2012 12:38:01 PM - -126.96.36.199
Used by SHGetStockIconInfo
12/13/2012 12:44:43 PM - -188.8.131.52
Retrieves information about a stock icon
3/1/2017 12:58:51 PM - -184.108.40.206
Please edit this page!
Do you have...