Shell32SHUpdateImage Method

Notifies the Shell that an image in the system image list has changed.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Shell32.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ThrowOnUnmappableChar = true, SetLastError = true)]
public static void SHUpdateImage(
	string filepath,
	int iconIndex,
	SHUpdateImageFlags flags,
	int imageIndex
)

Parameters

filepath  String
A pointer to a string value that specifies the fully qualified path of the file that contains the icon.
iconIndex  Int32
An integer that specifies the zero-based index of the icon in the file specified by filepath.
flags  SHUpdateImageFlags
The flags that determine the icon attributes.
imageIndex  Int32
An integer that specifies the index in the system image list of the icon that is being updated.

Remarks

See Also