bool SCS_GetErrorMessage()
Description
This function returns the last error message. If you implement
Dreamweaver calls it each time one of your API functions returns the value
If a routine returns
-1
Arguments
void *connectionData, char errorMsg[], const int *msgLength
The
connectionData
during the
Connect()
The
argument is a preallocated string for the DLL to fill in with the error
errorMsg
message.
The
msgLength
argument.
Returns
A Boolean value:
true
int SCS_GetNoteCount()
Description
This function returns the number of Design Note keys for the specified remote file or folder
path. If unsupported by the source control system, Dreamweaver gets this information from
the companion MNO file.
Arguments
void *connectionData, const char *remotePath
The
connectionData
Dreamweaver during the
The
remotePath
number of attached Design Notes.
Returns
An integer that indicates the number of Design Notes that are associated with this file. If the
function returns
, Dreamweaver considers it an error and tries to retrieve the error message
< 0
from the DLL, if supported.
or
, it indicates an error message should be available.
false
argument is a pointer to the agent's data that passed into Dreamweaver
call.
argument is the length of the buffer represented by the
if successful;
false
argument is a pointer to the agent's data that passed into
call.
Connect()
argument is the remote file or folder path that the DLL checks for the
The Source Control Integration API optional functions
getErrorMessage()
otherwise.
,
.
false
errorMsg[]
133
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?