int ok = hw_GetSystemPath(int type, STRPTR buf, int len, struct hwTagList *tags);
type
. A fully qualified path to this
directory will then be copied to the buffer passed in buf
.
The following directories are currently recognized by the type
argument:
HWSYSPATH_PROGRAMNAME
HWSYSPATH_WINDOWS
HWSYSPATH_PROGRAMFILES
HWSYSPATH_APPDATA
HWSYSPATH_COMMONAPPDATA
HWSYSPATH_MYDOCUMENTS
HWSYSPATH_USERHOME
HWSYSPATH_USERNAME
HWSYSPATH_SDCARD
HWSYSPATH_EXTERNALSTORAGE
HWSYSPATH_INTERNALSTORAGE
HWSYSPATH_APPBUNDLE
HWSYSPATH_PREFERENCES
SavePrefs()
and LoadPrefs()
functions.
HWSYSPATH_TEMPFILES
HWSYSPATH_LOCALAPPDATA
HWSYSPATH_COMMONAPPDATA
. (V9.0)
HWSYSPATH_STARTPATH:
NULL
for nowTrue
for success, False
if there was an error