Share

acedCreateInternetShortcut

C++

ACAD_PORT Adesk::Boolean acedCreateInternetShortcut(
    const ACHAR* szURL, 
    const ACHAR* szShortcutPath
);

File

acedinet.h

Description

Creates an MSIE-compatible Internet shortcut using the arguments passed to it.

Note

szShortcutPath should specify a path to a file that has the ".url" extension. In the absence of such an extension, the specified path will be considered invalid and Adesk::kFalse will be returned.

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

Parameters

Parameters Description
szURL Input URL that the shortcut will "wrap" (point to)
szShortcutPath Input filesystem path to the resulting shortcut

Was this information helpful?