Interface that supplies icon overlay information to the shell
-
Determines if a shell object should have an icon overlay
-
Retrieves the path to the overlay icon
-
Retrieves the relative priority of the overlay
PyIShellIconOverlayIdentifier.GetOverlayInfo
(PyUnicode, int, int) = GetOverlayInfo() Retrieves the path to the overlay icon
Returns the path to the icon file, the index of icon within the file, and Flags containing
combination of shellcon.ISIOI_ICON* flags
PyIShellIconOverlayIdentifier.GetPriority
int = GetPriority() Retrieves the relative priority of the overlay
Implementation of this function should return a number in the range 0-100 (0 is highest priority)
PyIShellIconOverlayIdentifier.IsMemberOf
int = IsMemberOf(path, attrib
) Determines if a shell object should have an icon overlay
-
path : PyUnicode
Fully qualified path of the shell object
-
attrib : int
Shell attributes, combination of shellcon.SFGAO_* flags
The gateway implementation of this function should return winerror.S_OK to
display the overlay, S_FALSE if not, or throw a COM exception with E_FAIL on error.
The client implementation of this function returns the same values - ie,
Python's True and False should not be used, as S_OK==0==False.