void CloseNotesFile()
Description
This function closes the specified Design Notes file and saves any changes. If all key/value
pairs are removed from the Design Note file, Dreamweaver deletes it. Dreamweaver deletes
the _notes folder when the last Design Notes file is deleted.
Arguments
FileHandle noteHandle
The
noteHandle
Returns
Nothing.
BOOL FilePathToLocalURL()
Description
This function converts the specified local drive path to a file:// URL.
Arguments
const char* drivePath, char* localURLBuf, int localURLMaxLen
The
argument is a string that contains the full drive path.
drivePath
The
localURLBuf
The
localURLMaxLen
Returns
A Boolean value:
true
argument receives the file:// URL value.
localURLBuf
BOOL GetNote()
Description
This function gets the value of the specified key in the specified Design Notes file.
Arguments
FileHandle noteHandle, const char keyName[64], char* valueBuf, int
valueBufLength
The
noteHandle
46
The Design Notes API
argument is the file handle that the
argument is the buffer where the file:// URL is stored.
argument is the maximum size of
indicates the operation is successful;
argument is the file handle that the
function returns.
OpenNotesFile()
.
localURLBuf
otherwise. The
false
function returns.
OpenNotesFile()
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?