|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represents IShellLink COM Interface This interface is used to manage folders, and exposed by all Shell namespace folder objects.
| Field Summary | |
static java.lang.String |
INTERFACE_IDENTIFIER
String representation of the IID of the IShellLink interface |
| Method Summary | |
com.jniwrapper.Str |
getArguments(com.jniwrapper.Int cch)
Returns the command-line arguments associated with a Shell link object. |
com.jniwrapper.Str |
getDescription(com.jniwrapper.Int cch)
Returns the description string for a Shell link object. |
com.jniwrapper.UInt16 |
getHotkey()
Returns the keyboard shortcut (hot key) for a Shell link object. |
void |
getIconLocation(com.jniwrapper.Str pszIconPath,
com.jniwrapper.Int cch,
com.jniwrapper.Int piIcon)
Returns the location (path and index) of the icon for a Shell link object. |
ItemIDList |
getIDList()
Returns the list of item identifiers for a Shell link object. |
void |
getPath(com.jniwrapper.Str pszFile,
com.jniwrapper.Int cch,
Win32FindData pfd,
com.jniwrapper.UInt32 fFlags)
Returns the path and file name of a Shell link object. |
com.jniwrapper.Int |
getShowCmd()
Returns the show command for a Shell link object. |
com.jniwrapper.Str |
getWorkingDirectory(com.jniwrapper.Int cch)
Returns the name of the working directory for a Shell link object. |
void |
resolve(Wnd hwnd,
com.jniwrapper.UInt32 fFlags)
Attempts to find the target of a Shell link, even if it has been moved or renamed. |
void |
setArguments(com.jniwrapper.Str pszArgs)
Sets the command-line arguments for a Shell link object. |
void |
setDescription(com.jniwrapper.Str pszName)
Sets the description for a Shell link object. |
void |
setHotkey(com.jniwrapper.UInt16 wHotkey)
Sets a keyboard shortcut (hot key) for a Shell link object. |
void |
setIconLocation(com.jniwrapper.Str pszIconPath,
com.jniwrapper.Int iIcon)
Sets the location (path and index) of the icon for a Shell link object. |
void |
setIDList(ItemIDList pidl)
Sets the pointer to an item identifier list (PIDL) for a Shell link object |
void |
setPath(com.jniwrapper.Str pszFile)
Sets the path and file name of a Shell link object. |
void |
setRelativePath(com.jniwrapper.Str pszPathRel,
com.jniwrapper.UInt32 dwReserved)
Sets the relative path to the Shell link object. |
void |
setShowCmd(com.jniwrapper.Int iShowCmd)
Sets the show command for a Shell link object. |
void |
setWorkingDirectory(com.jniwrapper.Str pszDir)
Sets the name of the working directory for a Shell link object. |
| Methods inherited from interface com.jniwrapper.win32.com.IUnknown |
addRef, isNull, queryInterface, release, setNull |
| Methods inherited from interface com.jniwrapper.AutoDeleteParameter |
isAutoDelete, setAutoDelete |
| Field Detail |
public static final java.lang.String INTERFACE_IDENTIFIER
| Method Detail |
public void getPath(com.jniwrapper.Str pszFile,
com.jniwrapper.Int cch,
Win32FindData pfd,
com.jniwrapper.UInt32 fFlags)
throws com.jniwrapper.win32.com.ComException
pszFile - The string that receives the path and file name of the Shell
link object.cch - The maximum number of characters to copy to the string pointed to by the
pszFile parameter.pfd - The address of a Win32FindData class that
receives information about the Shell link object. If this parameter is NULL, then no
additional information is returned.fFlags - Flags that specify the type of path information to retrieve.
com.jniwrapper.win32.com.ComException
public ItemIDList getIDList()
throws com.jniwrapper.win32.com.ComException
ItemIDList class
com.jniwrapper.win32.com.ComException
public void setIDList(ItemIDList pidl)
throws com.jniwrapper.win32.com.ComException
pidl - The list of item identifiers, represented by
ItemIDList class
com.jniwrapper.win32.com.ComException
public com.jniwrapper.Str getDescription(com.jniwrapper.Int cch)
throws com.jniwrapper.win32.com.ComException
cch - The maximum number of characters of string, which is being returned
com.jniwrapper.win32.com.ComException
public void setDescription(com.jniwrapper.Str pszName)
throws com.jniwrapper.win32.com.ComException
pszName - The description string for a Shell link object.
com.jniwrapper.win32.com.ComException
public com.jniwrapper.Str getWorkingDirectory(com.jniwrapper.Int cch)
throws com.jniwrapper.win32.com.ComException
cch - The maximum number of characters of string, which is being returned
com.jniwrapper.win32.com.ComException
public void setWorkingDirectory(com.jniwrapper.Str pszDir)
throws com.jniwrapper.win32.com.ComException
pszDir - The name of the working directory for a Shell link object.
com.jniwrapper.win32.com.ComException
public com.jniwrapper.Str getArguments(com.jniwrapper.Int cch)
throws com.jniwrapper.win32.com.ComException
cch - The maximum number of characters of string, which is being returned
com.jniwrapper.win32.com.ComException
public void setArguments(com.jniwrapper.Str pszArgs)
throws com.jniwrapper.win32.com.ComException
pszArgs - The command-line arguments string
com.jniwrapper.win32.com.ComException
public com.jniwrapper.UInt16 getHotkey()
throws com.jniwrapper.win32.com.ComException
com.jniwrapper.win32.com.ComException
public void setHotkey(com.jniwrapper.UInt16 wHotkey)
throws com.jniwrapper.win32.com.ComException
wHotkey - The virtual key code
com.jniwrapper.win32.com.ComException
public com.jniwrapper.Int getShowCmd()
throws com.jniwrapper.win32.com.ComException
com.jniwrapper.win32.com.ComException
public void setShowCmd(com.jniwrapper.Int iShowCmd)
throws com.jniwrapper.win32.com.ComException
iShowCmd - Value, which specifies the show command
com.jniwrapper.win32.com.ComException
public void getIconLocation(com.jniwrapper.Str pszIconPath,
com.jniwrapper.Int cch,
com.jniwrapper.Int piIcon)
throws com.jniwrapper.win32.com.ComException
pszIconPath - String that receives the path of the file containing the icon.cch - The maximum number of characters to copy to the string pointed to
by the pszIconPath parameter.piIcon - Value that receives the index of the icon.
com.jniwrapper.win32.com.ComException
public void setIconLocation(com.jniwrapper.Str pszIconPath,
com.jniwrapper.Int iIcon)
throws com.jniwrapper.win32.com.ComException
pszIconPath - The path of the file containing the icon.iIcon - The index of the icon.
com.jniwrapper.win32.com.ComException
public void setRelativePath(com.jniwrapper.Str pszPathRel,
com.jniwrapper.UInt32 dwReserved)
throws com.jniwrapper.win32.com.ComException
pszPathRel - String that contains the new relative path. It should be a file name, not a
folder name.dwReserved - Reserved. Set this parameter to zero.
com.jniwrapper.win32.com.ComException
public void resolve(Wnd hwnd,
com.jniwrapper.UInt32 fFlags)
throws com.jniwrapper.win32.com.ComException
hwnd - A handle to the window that the Shell will use as the parent for a dialog box.
The Shell displays the dialog box if it needs to prompt the user for more information
while resolving a Shell link.fFlags - Action flags.
com.jniwrapper.win32.com.ComException
public void setPath(com.jniwrapper.Str pszFile)
throws com.jniwrapper.win32.com.ComException
pszFile - String that contains the new path.
com.jniwrapper.win32.com.ComException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||