TerminateThread method

int TerminateThread(
  1. Pointer<Void> hThread,
  2. int dwExitCode
)

Implementation

int TerminateThread(
  ffi.Pointer<ffi.Void> hThread,
  int dwExitCode,
) {
  return (_TerminateThread ??=
      _dylib.lookupFunction<_c_TerminateThread, _dart_TerminateThread>(
          'TerminateThread'))(
    hThread,
    dwExitCode,
  );
}