RtlVirtualUnwind method

Pointer<NativeFunction<PEXCEPTION_ROUTINE>> RtlVirtualUnwind(
  1. int HandlerType,
  2. int ImageBase,
  3. int ControlPc,
  4. Pointer<_PIMAGE_RUNTIME_FUNCTION_ENTRY> FunctionEntry,
  5. Pointer<PCONTEXT> ContextRecord,
  6. Pointer<Pointer<Void>> HandlerData,
  7. Pointer<Uint64> EstablisherFrame,
  8. Pointer<PKNONVOLATILE_CONTEXT_POINTERS> ContextPointers,
)

Implementation

ffi.Pointer<ffi.NativeFunction<PEXCEPTION_ROUTINE>> RtlVirtualUnwind(
  int HandlerType,
  int ImageBase,
  int ControlPc,
  ffi.Pointer<_PIMAGE_RUNTIME_FUNCTION_ENTRY> FunctionEntry,
  ffi.Pointer<PCONTEXT> ContextRecord,
  ffi.Pointer<ffi.Pointer<ffi.Void>> HandlerData,
  ffi.Pointer<ffi.Uint64> EstablisherFrame,
  ffi.Pointer<PKNONVOLATILE_CONTEXT_POINTERS> ContextPointers,
) {
  return (_RtlVirtualUnwind ??=
      _dylib.lookupFunction<_c_RtlVirtualUnwind, _dart_RtlVirtualUnwind>(
          'RtlVirtualUnwind'))(
    HandlerType,
    ImageBase,
    ControlPc,
    FunctionEntry,
    ContextRecord,
    HandlerData,
    EstablisherFrame,
    ContextPointers,
  );
}