Adobe 38040334 - Dreamweaver CS3 User Manual page 33

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

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
noteHandle
• The
argument is the file handle that the
noteHandle
Returns
Nothing.
BOOL FilePathToLocalURL()
Description
This function converts the specified local drive path to a file:// URL.
Arguments
const char*
, char*
drivePath
• The
argument is a string that contains the full drive path.
drivePath
• The
argument is the buffer where the file:// URL is stored.
localURLBuf
• The
argument is the maximum size of
localURLMaxLen
Returns
A Boolean value:
indicates the operation is successful;
true
the file:// URL value.
BOOL GetNote()
Description
This function gets the value of the specified key in the specified Design Notes file.
Arguments
FileHandle
, const char
noteHandle
• The
argument is the file handle that the
noteHandle
• The
argument is a string that contains the name of the key.
keyName[64]
• The
argument is the buffer where the value is stored.
valueBuf
• The
valueBufLength
indicates the maximum length of the value buffer.
Returns
A Boolean value:
indicates the operation is successful;
true
value of the key.
, int
localURLBuf
localURLMaxLen
, char*
keyName[64]
argument is the integer that
function returns.
OpenNotesFile()
.
localURLBuf
otherwise. The
false
, int
valueBuf
valueBufLength
function returns.
OpenNotesFile()
GetNoteLength(noteHandle
otherwise. The
false
DREAMWEAVER CS3
argument receives
localURLBuf
,
returns, which
keyName)
argument receives the
valueBuf
28
API Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents