29 ULONG __stdcall AddRef()
override {
34 ULONG __stdcall Release()
override {
35 if (--mRefCounter == 0) {
41 HRESULT __stdcall QueryInterface(
const IID& riid,
void** ppv)
override {
42 static const QITAB qit[] = {
43 QITABENT(Child, Base),
46 return QISearch(
this, qit, riid, ppv);
50 std::atomic_uint mRefCounter = 1;