Favorites property

int Favorites

Implementation

int get Favorites {
  final retValuePtr = calloc<IntPtr>();

  try {
    final hr = Pointer<NativeFunction<_get_Favorites_Native>>.fromAddress(
            ptr.ref.vtable.elementAt(11).value)
        .asFunction<_get_Favorites_Dart>()(ptr.ref.lpVtbl, retValuePtr);
    if (FAILED(hr)) throw WindowsException(hr);

    final retValue = retValuePtr.value;
    return retValue;
  } finally {
    free(retValuePtr);
  }
}