suspicious property

bool get suspicious

Implementation

bool get suspicious {
  final value = calloc<Bool>();

  try {
    final hr = ptr.ref.vtable
            .elementAt(20)
            .cast<
                Pointer<
                    NativeFunction<
                        HRESULT Function(
                            VTablePointer lpVtbl, Pointer<Bool> value)>>>()
            .value
            .asFunction<
                int Function(VTablePointer lpVtbl, Pointer<Bool> value)>()(
        ptr.ref.lpVtbl, value);

    if (FAILED(hr)) throwWindowsException(hr);

    return value.value;
  } finally {
    free(value);
  }
}