User Guide
50 The Design Notes API
Arguments
char* versionNameBuf, int versionNameBufMaxLen
■ The versionNameBuf argument is the buffer where the version name is stored.
■ The versionNameBufMaxLen argument is the maximum size of the buffer that the
versionNameBuf argument references.
Returns
A Boolean value: true indicates the operation is successful; false otherwise. Dreamweaver
stores
"Dreamweaver" in versionNameBuf argument.
BOOL GetVersionNum()
Description
This function gets the version number of the MMNotes shared library, which lets you
determine whether certain functions are available.
Arguments
char* versionNumBuf, int versionNumBufMaxLen
■ The versionNumBuf argument is the buffer where the version number is stored.
■ The versionNumBufMaxLen argument is the maximum size of the buffer that
versionNumBuf references.
Returns
A Boolean value: true indicates the operation is successful; false otherwise. The
versionNumBuf argument stores the version number.
BOOL LocalURLToFilePath()
Description
This function converts the specified file:// URL to a local drive path.
Arguments
const char* localURL, char* drivePathBuf, int drivePathMaxLen
■ The localURL argument, which is expressed as a file:// URL, is the path to a local file.
■ The drivePathBuf argument is the buffer where the local drive path is stored.
■ The drivePathMaxLen argument is the maximum size of the buffer that the
drivePathBuf argument references.
000_DW_API_Print.book Page 50 Wednesday, July 20, 2005 11:58 AM