LoadEnclaveData method

int LoadEnclaveData(
  1. Pointer<Void> hProcess,
  2. Pointer<Void> lpAddress,
  3. Pointer<Void> lpBuffer,
  4. int nSize,
  5. int flProtect,
  6. Pointer<Void> lpPageInformation,
  7. int dwInfoLength,
  8. Pointer<Uint64> lpNumberOfBytesWritten,
  9. Pointer<Uint64> lpEnclaveError,
)

Implementation

int LoadEnclaveData(
  ffi.Pointer<ffi.Void> hProcess,
  ffi.Pointer<ffi.Void> lpAddress,
  ffi.Pointer<ffi.Void> lpBuffer,
  int nSize,
  int flProtect,
  ffi.Pointer<ffi.Void> lpPageInformation,
  int dwInfoLength,
  ffi.Pointer<ffi.Uint64> lpNumberOfBytesWritten,
  ffi.Pointer<ffi.Uint64> lpEnclaveError,
) {
  return (_LoadEnclaveData ??=
      _dylib.lookupFunction<_c_LoadEnclaveData, _dart_LoadEnclaveData>(
          'LoadEnclaveData'))(
    hProcess,
    lpAddress,
    lpBuffer,
    nSize,
    flProtect,
    lpPageInformation,
    dwInfoLength,
    lpNumberOfBytesWritten,
    lpEnclaveError,
  );
}