Home
last modified time | relevance | path

Searched refs:process_handle (Results 1 – 4 of 4) sorted by relevance

/reactos/sdk/lib/ucrt/conio/
H A Dpopen.cpp31 intptr_t process_handle; member
56 h->process_handle = 0; in close()
238 HANDLE const process_handle = GetCurrentProcess(); in common_popen_nolock() local
244 process_handle, in common_popen_nolock()
246 process_handle, in common_popen_nolock()
331 id_pair.get()->process_handle = reinterpret_cast<intptr_t>(process_info.hProcess); in common_popen_nolock()
463 intptr_t const process_handle = id_pair->process_handle; in _pclose()
467 id_pair->process_handle = 0; in _pclose()
474 if (_cwait(&status, process_handle, _WAIT_GRANDCHILD) != -1 || errno == EINTR) in _pclose()
/reactos/sdk/lib/ucrt/exec/
H A Dwait.cpp58 __crt_unique_handle process_handle(reinterpret_cast<HANDLE>(process_id)); in _cwait() local
62 if (WaitForSingleObject(process_handle.get(), static_cast<DWORD>(-1)) == 0 && in _cwait()
63 GetExitCodeProcess(process_handle.get(), &exit_code)) in _cwait()
H A Dspawnv.cpp226 __crt_unique_handle process_handle(process_info.hProcess); in execute_command() local
266 return reinterpret_cast<intptr_t>(process_handle.detach()); in execute_command()
/reactos/modules/rostests/winetests/kernel32/
H A Dprocess.c3104 static BOOL read_nt_header(HANDLE process_handle, MEMORY_BASIC_INFORMATION *mbi, in read_nt_header() argument
3109 if (!ReadProcessMemory(process_handle, mbi->BaseAddress, &dos_header, sizeof(dos_header), NULL)) in read_nt_header()
3117 if (!ReadProcessMemory(process_handle, (char *)mbi->BaseAddress + dos_header.e_lfanew, in read_nt_header()
3124 static PVOID get_process_exe(HANDLE process_handle, IMAGE_NT_HEADERS *nt_header) in get_process_exe() argument
3132 VirtualQueryEx(process_handle, address, &mbi, sizeof(mbi)) ; in get_process_exe()
3135 read_nt_header(process_handle, &mbi, nt_header) && in get_process_exe()
3145 static BOOL are_imports_resolved(HANDLE process_handle, PVOID module_base, IMAGE_NT_HEADERS *nt_hea… in are_imports_resolved() argument
3159 ret = ReadProcessMemory(process_handle, in are_imports_resolved()
3172 ret = ReadProcessMemory(process_handle, (char *)module_base + iid.FirstThunk, in are_imports_resolved()
3178 ret = ReadProcessMemory(process_handle, (char *)module_base + iid.OriginalFirstThunk, in are_imports_resolved()