c++ Programming Glossary: dwwaitstatus
“listening” to file changes in C/C++ (on Windows) http://stackoverflow.com/questions/1083372/listening-to-file-changes-in-c-c-on-windows  argv 1 void WatchDirectory LPTSTR lpDir DWORD dwWaitStatus HANDLE dwChangeHandles 2 TCHAR lpDrive 4 TCHAR lpFile _MAX_FNAME.. for notification. printf nWaiting for notification... n dwWaitStatus WaitForMultipleObjects 2 dwChangeHandles FALSE INFINITE switch.. 2 dwChangeHandles FALSE INFINITE switch dwWaitStatus  case WAIT_OBJECT_0 A file was created renamed or deleted in.. 
 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  notification. printf nWaiting for notification... n DWORD dwWaitStatus WaitForMultipleObjects 2 dwChangeHandles FALSE INFINITE switch.. 2 dwChangeHandles FALSE INFINITE switch dwWaitStatus  case WAIT_OBJECT_0 A file was created renamed or deleted in.. time out period. n  break default printf n ERROR Unhandled dwWaitStatus. n  ExitProcess GetLastError  break    share improve this answer.. 
 
 
     
      |