# Need help understanding VST3 extensions

**URL:** <https://forum.juce.com/t/need-help-understanding-vst3-extensions/47879>\
**Category:** Audio Plugins\
**Created:** [September 20, 2021, 2:49pm UTC](https://forum.juce.com/t/need-help-understanding-vst3-extensions/47879 "2021-09-20T14:49:18Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![reuk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/reuk/32/21494_2.png) [@reuk](https://forum.juce.com/u/reuk)\
**Post date:** [September 21, 2021, 10:10am UTC](https://forum.juce.com/t/need-help-understanding-vst3-extensions/47879/5 "2021-09-21T10:10:15Z")

</div>

> [@PluginPenguin](#):
>
> So `queryInterface` should increment the ref count?

Yeah, I think you’re right, I’ll fix this in the demo.

> [@PluginPenguin](#):
>
> And while we are there, is there any special reason that the internal atomic counter is an `int` but return values are always casted to a `uint32_t`

No, not really, I’ll fix that too. Thanks for the feedback!

---

_[View the full topic](https://forum.juce.com/t/need-help-understanding-vst3-extensions/47879)._
