Lines Matching refs:hSnapshot
107 HANDLE hSnapshot = NULL; in _CreateToolhelp32Snapshot() local
118 hSnapshot = lpProc( dwFlags, th32ProcessID ); in _CreateToolhelp32Snapshot()
120 return hSnapshot; in _CreateToolhelp32Snapshot()
123 static BOOL WINAPI _Process32First( HANDLE hSnapshot, PROCESSENTRY32 *lppe32 ) in _Process32First() argument
125 typedef BOOL (WINAPI *FN_PROC)( HANDLE hSnapshot, PROCESSENTRY32 *lppe32 ); in _Process32First()
139 fSuccess = lpProc( hSnapshot, lppe32 ); in _Process32First()
144 static BOOL WINAPI _Process32Next( HANDLE hSnapshot, PROCESSENTRY32 *lppe32 ) in _Process32Next() argument
146 typedef BOOL (WINAPI *FN_PROC)( HANDLE hSnapshot, PROCESSENTRY32 *lppe32 ); in _Process32Next()
160 fSuccess = lpProc( hSnapshot, lppe32 ); in _Process32Next()
169 HANDLE hSnapshot = _CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); in GetProcessImagePath_9x() local
171 if ( IsValidHandle( hSnapshot ) ) in GetProcessImagePath_9x()
177 BOOL fSuccess = _Process32First( hSnapshot, &pe32 ); in GetProcessImagePath_9x()
189 fSuccess = _Process32Next( hSnapshot, &pe32 ); in GetProcessImagePath_9x()
192 CloseHandle( hSnapshot ); in GetProcessImagePath_9x()