Name
GetCurDir -- get current directory (V10.0)
Synopsis
int ok = GetCurDir(STRPTR buf, int size, struct hwTagList *tags);
Function
This function has to copy the fully qualified path of the current directory to the buffer passed in 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:
If this is set, 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.

Inputs
buf
buffer to receive the current directory
size
size of the buffer in bytes
tags
tag list containing further parameters (see above)
Results
ok
True to indicate success, False on failure

Show TOC