The Source Control Integration API required functions
121
bool SCS_GetFolderList()
Description
This function returns a list of files and folders in the passed-in folder, including pertinent
information such as modified date, size, and whether the item is a folder or file.
Arguments
void *connectionData
,
const char
*
remotePath
,
itemInfo itemList
[ ],
const int
numItems
•
The
connectionData
argument is a pointer to the agent’s data that passed into Dreamweaver
during the
Connect()
call.
•
The
remotePath
argument is the path of the remote folder that the DLL checks for the
number of items.
•
The
itemList
argument is a preallocated list of
itemInfo
structures:
•
The
numItems
argument is the number of items that are allocated for the
itemList
(returned
from
GetFolderListLength
).
Returns
A Boolean value:
true
if successful;
false
otherwise.
name
char[256]
Name of file or folder
isFolder
bool
true
if folder;
false
if file
month
int
Month component of modification date 1-12
day
int
Day component of modification date 1-31
year
int
Year component of modification date 1900+
hour
int
Hour component of modification date 0-23
minutes
int
Minute component of modification date 0-59
seconds
int
Second component of modification date 0-59
type
char[256]
Type of file (if not set by DLL, Dreamweaver uses file
extensions to determine type, as it does now)
size
int
In bytes
000_DW_API_Print.book Page 121 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...