IShellLink class com
Exposes methods that create, modify, and resolve Shell links.
Constructors
-
IShellLink.new(Pointer<
COMObject> ptr) - IShellLink.from(IUnknown interface)
-
factory
Properties
Methods
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
detach(
) → void -
Detaches the object from the
Finalizer
.inherited -
getArguments(
Pointer< Utf16> pszArgs, int cch) → int -
getDescription(
Pointer< Utf16> pszName, int cch) → int -
getHotkey(
Pointer< Uint16> pwHotkey) → int -
getIconLocation(
Pointer< Utf16> pszIconPath, int cch, Pointer<Int32> piIcon) → int -
getIDList(
Pointer< Pointer< ppidl) → intITEMIDLIST> > -
getPath(
Pointer< Utf16> pszFile, int cch, Pointer<WIN32_FIND_DATA> pfd, int fFlags) → int -
getShowCmd(
Pointer< Uint32> piShowCmd) → int -
getWorkingDirectory(
Pointer< Utf16> pszDir, int cch) → int -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
inherited
-
resolve(
int hwnd, int fFlags) → int -
setArguments(
Pointer< Utf16> pszArgs) → int -
setDescription(
Pointer< Utf16> pszName) → int -
setHotkey(
int wHotkey) → int -
setIconLocation(
Pointer< Utf16> pszIconPath, int iIcon) → int -
setIDList(
Pointer< ITEMIDLIST> pidl) → int -
setPath(
Pointer< Utf16> pszFile) → int -
setRelativePath(
Pointer< Utf16> pszPathRel, int dwReserved) → int -
setShowCmd(
int iShowCmd) → int -
setWorkingDirectory(
Pointer< Utf16> pszDir) → int -
toInterface(
String iid) → Pointer< COMObject> -
Cast an existing COM object to a specified interface.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited