int SCS_GetRootFolderLength()
Description
This function returns the length of the name of the root folder.
Arguments
void *connectionData
•
The
connectionData
during the
Connect()
Returns
An integer that indicates the length of the name of the root folder. If the function returns
Dreamweaver considers it an error and tries to retrieve the error message from the DLL,
if supported.
bool SCS_GetRootFolder()
Description
This function returns the name of the root folder.
Arguments
void *connectionData
•
The
connectionData
during the
Connect()
•
The
remotePath
•
The
folderLen
value that
GetRootFolderLength
Returns
A Boolean value:
int SCS_GetFolderListLength()
Description
This function returns the number of items in the passed-in folder.
Arguments
void *connectionData
•
The
connectionData
during the
Connect()
•
The
remotePath
for the number of items.
Returns
An integer that indicates the number of items in the current folder. If the function returns
Dreamweaver considers it an error and tries to retrieve the error message from the DLL,
if supported.
120
Chapter 10: The Source Control Integration API
argument is a pointer to the agent's data that passed into Dreamweaver
call.
,
char remotePath[]
argument is a pointer to the agent's data that passed into Dreamweaver
call.
is a buffer where the full remote path of the root folder is stored.
argument is an integer that indicates the length of
returns.
if successful;
true
false
,
const char
argument is a pointer to the agent's data that passed into Dreamweaver
call.
argument is the full path and name of the remote folder that the DLL checks
,
const int folderLen
otherwise.
*
remotePath
< 0
. This is the
remotePath
< 0
,
,
Need help?
Do you have a question about the DREAMWEAVER MX 2004-DREAMWEAVER API and is the answer not in the manual?