SHUpdateImageFlags Enumeration

Specifies the icon attributes when calling SHUpdateImage(String, Int32, SHUpdateImageFlags, Int32) function.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum SHUpdateImageFlags

Remarks

Members

OpenIcon 1 The icon is in the open state if both open-state and closed-state images are available.

If this flag is not specified, the icon is in the normal or closed state.

This flag is typically used for folder objects.

ForShell 2 The icon is displayed in a Shell folder.
Async 32 Set this flag to determine whether the icon should be extracted asynchronously.

If the icon can be extracted rapidly, this flag is usually ignored.

DefaultIcon 64 Retrieve information about the fallback icon.

Fallback icons are usually used while the desired icon is extracted and added to the cache.

ForShortcut 128 The icon indicates a shortcut. However, the icon extractor should not apply the shortcut overlay; that will be done later.

Shortcut icons are state-independent.

CheckShield 512 Explicitly return whether or not the calling application must stamp the icon with the User Account Control (UAC) shield.

Do not block if Async is set.

See Also