int ok = GetCurDir(STRPTR buf, int size, struct hwTagList *tags);
buf
. The buffer size is passed in the size
argument. You must not
copy more than size
bytes to the buffer. This function must return True
on success
and False
on failure.
The tags
argument will be set to a tag list that can contain the following
tags:
HWGETCURDIRTAG_USERTAGS:
pData
will point to a struct hwUserTagList
containing
a list of user tags passed by the Hollywood script. User tags are a way of passing additional information
from Hollywood scripts to plugin functions. See User tags for details.
True
to indicate success, False
on failure