ContinueDebugEvent function kernel32

Win32Result<bool> ContinueDebugEvent(
  1. int dwProcessId,
  2. int dwThreadId,
  3. NTSTATUS dwContinueStatus
)

Enables a debugger to continue a thread that previously reported a debugging event.

To learn more, see learn.microsoft.com/windows/win32/api/debugapi/nf-debugapi-continuedebugevent.

Implementation

Win32Result<bool> ContinueDebugEvent(
  int dwProcessId,
  int dwThreadId,
  NTSTATUS dwContinueStatus,
) {
  resolveGetLastError();
  final result_ = _ContinueDebugEvent(
    dwProcessId,
    dwThreadId,
    dwContinueStatus,
  );
  return .new(value: result_ != FALSE, error: GetLastError());
}