completed property

Pointer<NativeType> completed

Implementation

Pointer get completed {
  final retValuePtr = calloc<Pointer>();

  try {
    final hr = _thisPtr.ref.lpVtbl.value
        .elementAt(12)
        .cast<Pointer<NativeFunction<_get_Completed_Native>>>()
        .value
        .asFunction<_get_Completed_Dart>()(_thisPtr.ref.lpVtbl, retValuePtr);

    if (FAILED(hr)) throw WindowsException(hr);

    final retValue = retValuePtr.value;
    return retValue;
  } finally {
    free(retValuePtr);
  }
}
void completed=(Pointer<NativeType> value)

Implementation

set completed(Pointer value) {
  final hr = _thisPtr.ref.lpVtbl.value
      .elementAt(11)
      .cast<Pointer<NativeFunction<_put_Completed_Native>>>()
      .value
      .asFunction<_put_Completed_Dart>()(_thisPtr.ref.lpVtbl, value);

  if (FAILED(hr)) throw WindowsException(hr);
}