Wow64SuspendThread function kernel32

Win32Result<int> Wow64SuspendThread(
  1. HANDLE hThread
)

Suspends the specified WOW64 thread.

To learn more, see learn.microsoft.com/windows/win32/api/winbase/nf-winbase-wow64suspendthread.

Implementation

Win32Result<int> Wow64SuspendThread(HANDLE hThread) {
  final result_ = Wow64SuspendThread_Wrapper(hThread);
  return .new(value: result_.value.u32, error: result_.error);
}