User Guide

The Source Control Integration API optional functions 131
Arguments
void *connectionData, const char *remotePathList[], const char
*localPathList[], bool successList[], const int numItems
The connectionData argument is a pointer to the agents data that passed into
Dreamweaver during the
Connect() call.
The remotePathList argument is a list of remote filenames or folder paths on which to
undo the check out.
The localPathList argument is a mirrored list of local filenames or folder paths.
The successList argument is a list of Boolean values that are populated by the DLL to
let Dreamweaver know which corresponding files’ check outs are undone successfully.
The numItems argument is the number of items in each list.
Returns
A Boolean value: true if successful; false otherwise.
int SCS_GetNumCheckedOut()
Description
This function returns the number of users who have a file checked out.
Arguments
void *connectionData, const char *remotePath
The connectionData argument is a pointer to the agents data that passed into
Dreamweaver during the
Connect() call.
The remotePath argument is the remote file or folder path to check to see how many
users have it checked out.
Returns
An integer that indicates the number of people who have the file checked out. If the function
returns
< 0, Dreamweaver considers it an error and tries to retrieve the error message from the
DLL, if supported.
000_DW_API_Print.book Page 131 Wednesday, July 20, 2005 11:58 AM