Click or drag to resize

StockIconGetStockIconHandle Method

Gets a stock icon handle by its identifier.

Namespace:  ShellBoost.Core.Utilities
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static IntPtr GetStockIconHandle(
	StockIconId id,
	StockIconSHGSI flags = StockIconSHGSI.SHGSI_SMALLICON
)

Parameters

id
Type: ShellBoost.Core.UtilitiesStockIconId
The identifier.
flags (Optional)
Type: ShellBoost.Core.UtilitiesStockIconSHGSI
The flags.

Return Value

Type: IntPtr
An handle on the Icon or Zero if it was not found.
See Also