![MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference Download Page 121](http://html1.mh-extra.com/html/macromedia/dreamweaver-8-dreamweaver-api/dreamweaver-8-dreamweaver-api_reference_3332054121.webp)
The Source Control Integration API required functions
121
Arguments
void *connectionData
■
The
connectionData
argument is a pointer to the agent’s data that passed into
Dreamweaver during the
Connect()
call.
Returns
A Boolean value:
true
if successful;
false
otherwise.
int SCS_GetRootFolderLength()
Description
This function returns the length of the name of the root folder.
Arguments
void *connectionData
■
The
connectionData
argument is a pointer to the agent’s data that passed into
Dreamweaver during the
Connect()
call.
Returns
An integer that indicates the length of the name of the root folder. If the function returns
< 0
,
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
,
char
remotePath[]
,
const int folderLen
■
The
connectionData
argument is a pointer to the agent’s data that passed into
Dreamweaver during the
Connect()
call.
■
The
remotePath
is a buffer where the full remote path of the root folder is stored.
■
The
folderLen
argument is an integer that indicates the length of
remotePath
. This is
the value that
GetRootFolderLength
returns.
Returns
A Boolean value:
true
if successful;
false
otherwise.
000_DW_API_Print.book Page 121 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...