GetThreadContext method

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

Implementation

int GetThreadContext(
  ffi.Pointer<ffi.Void> hThread,
  ffi.Pointer<PCONTEXT> lpContext,
) {
  return (_GetThreadContext ??=
      _dylib.lookupFunction<_c_GetThreadContext, _dart_GetThreadContext>(
          'GetThreadContext'))(
    hThread,
    lpContext,
  );
}