Lines Matching refs:handle
37 virtual void OnObjectSignaled(HANDLE object);
42 // Setup a watch handle for directory |dir|. Returns true if no fatal error
43 // occurs. |handle| will receive the handle value if |dir| is watchable,
45 static bool SetupWatchHandle(const FilePath& dir, HANDLE* handle)
48 // (Re-)Initialize the watch handle.
51 // Destroy the watch handle.
63 // Handle for FindFirstChangeNotification.
64 HANDLE handle_;
129 void FilePathWatcherImpl::OnObjectSignaled(HANDLE object) {
180 HANDLE* handle) {
181 *handle = FindFirstChangeNotification(
187 if (*handle != INVALID_HANDLE_VALUE) {
188 // Make sure the handle we got points to an existing directory. It seems
192 FindCloseChangeNotification(*handle);
193 *handle = INVALID_HANDLE_VALUE;
228 // create a watch handle in |handle_|. |child_dirs| keeps a stack of child
236 // Break if a valid handle is returned. Try the parent directory otherwise.
256 HANDLE temp_handle = INVALID_HANDLE_VALUE;