31 ULONG __stdcall AddRef()
override {
36 ULONG __stdcall Release()
override {
37 if (--mRefCounter == 0) {
43 HRESULT __stdcall QueryInterface(
const IID& riid,
void** ppv)
override {
44 static const QITAB qit[] = {
45 QITABENT(Child, Base),
48 return QISearch(
this, qit, riid, ppv);
52 std::atomic_uint mRefCounter = 1;