Home
last modified time | relevance | path

Searched refs:hSnapshot (Results 1 – 7 of 7) sorted by relevance

/aoo42x/main/setup_native/source/win32/customactions/quickstarter/
H A Dquickstarter.cxx107 HANDLE hSnapshot = NULL; in _CreateToolhelp32Snapshot() local
118 hSnapshot = lpProc( dwFlags, th32ProcessID ); in _CreateToolhelp32Snapshot()
120 return hSnapshot; in _CreateToolhelp32Snapshot()
125 typedef BOOL (WINAPI *FN_PROC)( HANDLE hSnapshot, PROCESSENTRY32 *lppe32 ); in _Process32First()
139 fSuccess = lpProc( hSnapshot, lppe32 ); in _Process32First()
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()
[all …]
/aoo42x/main/sal/systools/win32/uwinapi/
H A Dtoolhelp.cpp26 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32First, (HANDLE hSnapshot, LPMODULEENTRY32…
32 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32FirstW, (HANDLE hSnapshot, LPMODULEENTRY3…
38 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32Next, (HANDLE hSnapshot, LPMODULEENTRY32 …
44 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Module32NextW, (HANDLE hSnapshot, LPMODULEENTRY32…
50 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32First, (HANDLE hSnapshot, LPPROCESSENTRY…
56 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32FirstW, (HANDLE hSnapshot, LPPROCESSENTR…
62 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32Next, (HANDLE hSnapshot, LPPROCESSENTRY3…
68 IMPLEMENT_THUNK( kernel32, TRYLOAD, BOOL, WINAPI, Process32NextW, (HANDLE hSnapshot, LPPROCESSENTRY…
H A DEnumProcesses.cpp28 HANDLE hSnapshot = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); variable
30 if ( IsValidHandle( hSnapshot ) )
38 if ( Process32First( hSnapshot, &pe ) )
49 if ( !Process32Next( hSnapshot, &pe ) )
54 CloseHandle( hSnapshot );
H A DGetModuleFileNameExA.cpp40 HANDLE hSnapshot = CreateToolhelp32Snapshot( TH32CS_SNAPMODULE, dwProcessId ); variable
42 if ( IsValidHandle( hSnapshot ) )
47 if ( Module32First( hSnapshot, &me ) )
56 } while ( !fFound && Module32Next( hSnapshot, &me ) );
69 CloseHandle( hSnapshot );
/aoo42x/main/sal/systools/win32/kill/
H A Dkill.cxx152 HANDLE hSnapshot = CreateToolhelp32Snapshot( TH32CS_SNAPTHREAD, 0 ); in RaiseSignalEx() local
156 if ( IsValidHandle(hSnapshot) ) in RaiseSignalEx()
161 fSuccess = Thread32First( hSnapshot, &te ); in RaiseSignalEx()
174 fSuccess = Thread32Next( hSnapshot, &te ); in RaiseSignalEx()
177 CloseHandle( hSnapshot ); in RaiseSignalEx()
360 HANDLE hSnapshot = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); in ParseCommandArgs() local
362 if ( IsValidHandle( hSnapshot ) ) in ParseCommandArgs()
367 BOOL fSuccess = Process32First( hSnapshot, &pe ); in ParseCommandArgs()
379 fSuccess = Process32Next( hSnapshot, &pe ); in ParseCommandArgs()
382 CloseHandle( hSnapshot ); in ParseCommandArgs()
/aoo42x/main/sal/osl/w32/
H A Ddllentry.c278 HANDLE hSnapshot = CreateToolhelp32Snapshot( TH32CS_SNAPPROCESS, 0 ); local
280 if ( IsValidHandle( hSnapshot ) )
287 fSuccess = Process32First( hSnapshot, &pe );
297 fSuccess = Process32Next( hSnapshot, &pe );
300 CloseHandle( hSnapshot );
H A Dmodule.cxx219 typedef BOOL (WINAPI *Module32First_PROC)( HANDLE hSnapshot, LPMODULEENTRY32 lpme32 );
220 typedef BOOL (WINAPI *Module32Next_PROC)( HANDLE hSnapshot, LPMODULEENTRY32 lpme32 );

Completed in 26 milliseconds