The Directory Watcher Object - HTML2EXE Programming Interface
Introduction
The Directory Watcher object monitors changes of a dictory. This object does not support callback. After started successfully, you should call its GetEvents method regularly to retrieve events.
Properties
Directory
| Value |
BSTR |
| Access |
Get |
| Notes |
|
Status
| Value |
long |
| Access |
Get |
| Notes |
|
Methods
GetEvents
| Return Value |
Directory Watcher Events Object |
| Notes |
After successfully started, you should call this method regulary to check events.
|
Start
| Return Value |
VARIANT_BOOL (success or fail) |
| Arguments: |
- BSTR dir
- ULONG watchFlags (Optional, default(127))
|
| Notes |
SDK Keyword: ReadDirectoryChangesW
|
Stop