10 PROCESS_INFORMATION *pi = &inst->
pi;
13 switch (params->
type) {
15 params->
ret = ContinueDebugEvent(pi->dwProcessId, pi->dwThreadId, params->
continue_status);
18 params->
ret = WaitForDebugEvent(params->
wait.de, params->
wait.wait_time);
20 pi->dwProcessId = params->
wait.de->dwProcessId;
21 pi->dwThreadId = params->
wait.de->dwThreadId;
28 params->
ret = DebugActiveProcess(pi->dwProcessId);
32 params->
ret = DebugActiveProcessStop(pi->dwProcessId);
38 params->
err = GetLastError();
73 WaitForSingleObject(inst->
result_sem, INFINITE);
RZ_API void Ht_() free(HtName_(Ht) *ht)
void * calloc(size_t number, size_t size)
struct W32DbgWParams::@606::@608 wait
W32DbgWInst * w32dbg_wrap_new(void)
int w32dbg_wrap_wait_ret(W32DbgWInst *inst)
static DWORD WINAPI __w32dbg_thread(LPVOID param)
void w32dbg_wrap_free(W32DbgWInst *inst)
#define w32dbgw_ret(inst)