|
JNA API> 4.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.jna.platform.win32.Shell32Util
public abstract class Shell32Util
Shell32 Utility API.
Constructor Summary | |
---|---|
Shell32Util()
|
Method Summary | |
---|---|
static String |
getFolderPath(int nFolder)
Get a special folder path. |
static String |
getFolderPath(WinDef.HWND hwnd,
int nFolder,
WinDef.DWORD dwFlags)
Get a special folder path. |
static String |
getSpecialFolderPath(int csidl,
boolean create)
Retrieves the path of a special folder, identified by its CSIDL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Shell32Util()
Method Detail |
---|
public static String getFolderPath(WinDef.HWND hwnd, int nFolder, WinDef.DWORD dwFlags)
hwnd
- Parent window.nFolder
- Folder CSLID.dwFlags
- Flags.
public static String getFolderPath(int nFolder)
nFolder
- Folder CSLID.
public static final String getSpecialFolderPath(int csidl, boolean create)
csidl
- A CSIDL that identifies the folder of interest. If a virtual folder is specified, this function will fail.create
- Indicates whether the folder should be created if it does not already exist. If this value is nonzero, the folder is created. If this value is
zero, the folder is not created.
|
JNA API> 4.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |