PyIShellLink.Resolve
Resolve(hwnd, fFlags)
Resolves a shell link by searching for the shell link object and updating the shell link path and its list of identifiers (if necessary)
Parameters
Value | Description |
SLR_INVOKE_MSI | Call the Microsoft Windows Installer. |
SLR_NOLINKINFO | Disable distributed link tracking. By default, distributed link tracking tracks removable media across multiple devices based on the volume name. It also uses the UNC path to track remote file systems whose drive letter has changed. Setting SLR_NOLINKINFO disables both types of tracking. |
SLR_NO_UI | Do not display a dialog box if the link cannot be resolved. When SLR_NO_UI is set, the high-order word of fFlags can be set to a time-out value that specifies the maximum amount of time to be spent resolving the link. The function returns if the link cannot be resolved within the time-out duration. If the high-order word is set to zero, the time-out duration will be set to the default value of 3,000 milliseconds (3 seconds). To specify a value, set the high word of fFlags to the desired time-out duration, in milliseconds. |
SLR_NOUPDATE | Do not update the link information. |
SLR_NOSEARCH | Do not execute the search heuristics. |
SLR_NOTRACK | Do not use distributed link tracking. |
SLR_UPDATE | If the link object has changed, update its path and list of identifiers. If SLR_UPDATE is set, you do not need to call IPersistFile::IsDirty to determine whether or not the link object has changed. |