SetThreadContext method

int SetThreadContext(
  1. Pointer<Void> hThread,
  2. Pointer<PCONTEXT> lpContext
)

Implementation

int SetThreadContext(
  ffi.Pointer<ffi.Void> hThread,
  ffi.Pointer<PCONTEXT> lpContext,
) {
  return (_SetThreadContext ??=
      _dylib.lookupFunction<_c_SetThreadContext, _dart_SetThreadContext>(
          'SetThreadContext'))(
    hThread,
    lpContext,
  );
}