CreateEnclave method

Pointer<Void> CreateEnclave(
  1. Pointer<Void> hProcess,
  2. Pointer<Void> lpAddress,
  3. int dwSize,
  4. int dwInitialCommitment,
  5. int flEnclaveType,
  6. Pointer<Void> lpEnclaveInformation,
  7. int dwInfoLength,
  8. Pointer<Uint64> lpEnclaveError,
)

Implementation

ffi.Pointer<ffi.Void> CreateEnclave(
  ffi.Pointer<ffi.Void> hProcess,
  ffi.Pointer<ffi.Void> lpAddress,
  int dwSize,
  int dwInitialCommitment,
  int flEnclaveType,
  ffi.Pointer<ffi.Void> lpEnclaveInformation,
  int dwInfoLength,
  ffi.Pointer<ffi.Uint64> lpEnclaveError,
) {
  return (_CreateEnclave ??=
      _dylib.lookupFunction<_c_CreateEnclave, _dart_CreateEnclave>(
          'CreateEnclave'))(
    hProcess,
    lpAddress,
    dwSize,
    dwInitialCommitment,
    flEnclaveType,
    lpEnclaveInformation,
    dwInfoLength,
    lpEnclaveError,
  );
}