Share

acedResolveShortcut

C++

ACAD_PORT bool acedResolveShortcut(
    void* pvHwndParent, 
    const ACHAR* szLinkPath, 
    AcString & sObjectPath
);

File

acedinet.h

Description

This function resolves Windows shell links (in other words, shortcuts and returns the path to the underlying object (the inverse of acedCreateShortcut()).

Returns Adesk::kTrue on success; Adesk::kFalse on failure.

Parameters

Parameters Description
pvHwndParent Input pointer to a window handle (of type HWND) that will be used as the parent window in case we need to display a message box or an animation dialog; this value should not be NULL
szLinkPath Input full path to the .lnk file that will be resolved as the Windows-style shortcut; note that the ".lnk" extension is required
sObjectPath Output string that receives the full path of the filesystem object to which the shortcut points

Was this information helpful?