SetProcessValidCallTargetsForMappedView method

int SetProcessValidCallTargetsForMappedView(
  1. Pointer<Void> Process,
  2. Pointer<Void> VirtualAddress,
  3. int RegionSize,
  4. int NumberOfOffsets,
  5. Pointer<PCFG_CALL_TARGET_INFO> OffsetInformation,
  6. Pointer<Void> Section,
  7. int ExpectedFileOffset,
)

Implementation

int SetProcessValidCallTargetsForMappedView(
  ffi.Pointer<ffi.Void> Process,
  ffi.Pointer<ffi.Void> VirtualAddress,
  int RegionSize,
  int NumberOfOffsets,
  ffi.Pointer<PCFG_CALL_TARGET_INFO> OffsetInformation,
  ffi.Pointer<ffi.Void> Section,
  int ExpectedFileOffset,
) {
  return (_SetProcessValidCallTargetsForMappedView ??= _dylib.lookupFunction<
          _c_SetProcessValidCallTargetsForMappedView,
          _dart_SetProcessValidCallTargetsForMappedView>(
      'SetProcessValidCallTargetsForMappedView'))(
    Process,
    VirtualAddress,
    RegionSize,
    NumberOfOffsets,
    OffsetInformation,
    Section,
    ExpectedFileOffset,
  );
}