¡@

Home 

c++ Programming Glossary: dwchangehandles

“listening” to file changes in C/C++ (on Windows)

http://stackoverflow.com/questions/1083372/listening-to-file-changes-in-c-c-on-windows

void WatchDirectory LPTSTR lpDir DWORD dwWaitStatus HANDLE dwChangeHandles 2 TCHAR lpDrive 4 TCHAR lpFile _MAX_FNAME TCHAR lpExt _MAX_EXT.. ' 0' Watch the directory for file creation and deletion. dwChangeHandles 0 FindFirstChangeNotification lpDir directory to watch FALSE.. FILE_NOTIFY_CHANGE_FILE_NAME watch file name changes if dwChangeHandles 0 INVALID_HANDLE_VALUE printf n ERROR FindFirstChangeNotification..

How to see if a subfile of a directory has changed

http://stackoverflow.com/questions/56682/how-to-see-if-a-subfile-of-a-directory-has-changed

you create one or more notification object such as HANDLE dwChangeHandles 2 dwChangeHandles 0 FindFirstChangeNotification lpDir directory.. more notification object such as HANDLE dwChangeHandles 2 dwChangeHandles 0 FindFirstChangeNotification lpDir directory to watch FALSE.. FILE_NOTIFY_CHANGE_FILE_NAME watch file name changes if dwChangeHandles 0 INVALID_HANDLE_VALUE printf n ERROR FindFirstChangeNotification..