Searched refs:processSnapshot (Results 1 – 1 of 1) sorted by relevance
138 HANDLE processSnapshot; in filelock_lock() local158 processSnapshot = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); in filelock_lock()160 if ( processSnapshot == INVALID_HANDLE_VALUE ) { in filelock_lock()164 else if ( !Process32First( processSnapshot, &pe32 ) ) in filelock_lock()167 CloseHandle( processSnapshot ); in filelock_lock()177 } while (Process32Next( processSnapshot, &pe32 ) ); in filelock_lock()179 CloseHandle( processSnapshot ); in filelock_lock()