SuspendThread function kernel32

Win32Result<int> SuspendThread(
  1. HANDLE hThread
)

Implementation

Win32Result<int> SuspendThread(HANDLE hThread) {
  resolveGetLastError();
  final result_ = _SuspendThread(hThread);
  return .new(value: result_, error: GetLastError());
}