Adobe 38040334 API Reference - Page 92
bool SCS_IsConnected, int SCS_GetRootFolderLength, bool SCS_GetRootFolder
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 92 highlights
DREAMWEAVER CS3 87 API Reference bool SCS_IsConnected() Description This function determines the state of the connection. 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 GetRoot- FolderLength returns. Returns A Boolean value: true if successful; false otherwise.