 |
FindFirstChangeNotification ..msdn Add comment W32 Constants Translate this page |
 |
 |
Creates a change notification handle and sets up initial change notification filter conditions.
A wait on a notification handle succeeds when a change matching the filter conditions occurs in the specified directory or subtree.
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
HANDLE FindFirstChangeNotification(
LPCTSTR lpPathName, // directory name
BOOL bWatchSubtree, // monitoring option
DWORD dwNotifyFilter // filter conditions
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER FindFirstChangeNotification IN kernel32;
STRING lpPathName,;
INTEGER bWatchSubtree,;
INTEGER dwNotifyFilter
|
 |
 |
 |
| Parameters: |
 |
lpPathName
[in] Pointer to a null-terminated string that specifies the path of the directory to watch.
bWatchSubtree
[in] Specifies whether the function will monitor the directory or the directory tree.
dwNotifyFilter
[in] Specifies the filter conditions that satisfy a change notification wait. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is a handle to a find change notification object. |
 |
 |
| My comment: |
 |
The wait functions can monitor the specified directory or subtree by using the handle returned by the FindFirstChangeNotification function:
SignalObjectAndWait, WaitForSingleObject, WaitForSingleObjectEx, WaitForMultipleObjects, WaitForMultipleObjectsEx, MsgWaitForMultipleObjects, MsgWaitForMultipleObjectsEx. |
 |
 |
| Word Index links for the FindFirstChangeNotification : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-08-23 12:00:00 | | Modified: | 2001-11-26 16:03:23 | Visited in last 7 days: 24 |