CallEnclave method

int CallEnclave(
  1. Pointer<NativeFunction<LPENCLAVE_ROUTINE>> lpRoutine,
  2. Pointer<Void> lpParameter,
  3. int fWaitForThread,
  4. Pointer<Pointer<Void>> lpReturnValue,
)

Implementation

int CallEnclave(
  ffi.Pointer<ffi.NativeFunction<LPENCLAVE_ROUTINE>> lpRoutine,
  ffi.Pointer<ffi.Void> lpParameter,
  int fWaitForThread,
  ffi.Pointer<ffi.Pointer<ffi.Void>> lpReturnValue,
) {
  return (_CallEnclave ??= _dylib
      .lookupFunction<_c_CallEnclave, _dart_CallEnclave>('CallEnclave'))(
    lpRoutine,
    lpParameter,
    fWaitForThread,
    lpReturnValue,
  );
}