Home
last modified time | relevance | path

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

/reactos/modules/rostests/winetests/kernel32/
H A Dtoolhelp.c103 HANDLE hSnapshot; in test_process() local
115 if (pProcess32First( hSnapshot, &pe )) in test_process()
129 if (pProcess32First( hSnapshot, &pe )) in test_process()
149 CloseHandle(hSnapshot); in test_process()
155 HANDLE hSnapshot; in test_thread() local
167 if (pThread32First( hSnapshot, &te )) in test_thread()
184 if (pThread32First( hSnapshot, &te )) in test_thread()
201 CloseHandle(hSnapshot); in test_thread()
224 HANDLE hSnapshot; in test_module() local
239 if (pModule32First( hSnapshot, &me )) in test_module()
[all …]
/reactos/base/applications/taskmgr/
H A Dendproc.c95 BOOL ShutdownProcessTreeHelper(HANDLE hSnapshot, HANDLE hParentProcess, DWORD dwParentPID) in ShutdownProcessTreeHelper() argument
101 if (Process32FirstW(hSnapshot, &ProcessEntry)) in ShutdownProcessTreeHelper()
118 if (!ShutdownProcessTreeHelper(hSnapshot, hChildHandle, ProcessEntry.th32ProcessID)) in ShutdownProcessTreeHelper()
125 } while (Process32NextW(hSnapshot, &ProcessEntry)); in ShutdownProcessTreeHelper()
133 HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); in ShutdownProcessTree() local
136 if (!hSnapshot) in ShutdownProcessTree()
141 bResult = ShutdownProcessTreeHelper(hSnapshot, hParentProcess, dwParentPID); in ShutdownProcessTree()
142 CloseHandle(hSnapshot); in ShutdownProcessTree()
/reactos/base/applications/utilman/umandlg/
H A Dprocess.c31 HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); in GetProcessID() local
33 if (hSnapshot == INVALID_HANDLE_VALUE) in GetProcessID()
40 if (Process32FirstW(hSnapshot, &Process)) in GetProcessID()
47 CloseHandle(hSnapshot); in GetProcessID()
51 while (Process32NextW(hSnapshot, &Process)); in GetProcessID()
54 CloseHandle(hSnapshot); in GetProcessID()
/reactos/dll/win32/kernel32/client/
H A Dtoolhelp.c682 Status = NtMapViewOfSection(hSnapshot, in Heap32ListFirst()
736 Status = NtMapViewOfSection(hSnapshot, in Heap32ListNext()
786 Ret = Module32FirstW(hSnapshot, &me); in Module32First()
823 Status = NtMapViewOfSection(hSnapshot, in Module32FirstW()
873 Ret = Module32NextW(hSnapshot, &me); in Module32Next()
910 Status = NtMapViewOfSection(hSnapshot, in Module32NextW()
960 Ret = Process32FirstW(hSnapshot, &pe); in Process32First()
997 Status = NtMapViewOfSection(hSnapshot, in Process32FirstW()
1049 Ret = Process32NextW(hSnapshot, &pe); in Process32Next()
1086 Status = NtMapViewOfSection(hSnapshot, in Process32NextW()
[all …]
/reactos/modules/rostests/apitests/localspl/
H A Dservice.c31 HANDLE hSnapshot; in _DoDLLInjection() local
58 hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); in _DoDLLInjection()
59 if (hSnapshot == INVALID_HANDLE_VALUE) in _DoDLLInjection()
67 if (!Process32FirstW(hSnapshot, &pe)) in _DoDLLInjection()
122 while (Process32NextW(hSnapshot, &pe)); in _DoDLLInjection()