1#ifndef APITESTS_UNKNOWNBASE_H
2#define APITESTS_UNKNOWNBASE_H
4template<
typename Interface>
#define InterlockedIncrement
#define InterlockedDecrement
#define STDMETHODCALLTYPE
ULONG STDMETHODCALLTYPE Release()
virtual const QITAB * GetQITab()=0
HRESULT STDMETHODCALLTYPE QueryInterface(REFIID riid, void **ppv)
CUnknownBase(bool autoDelete=true, LONG initialRef=0)
ULONG STDMETHODCALLTYPE AddRef()
HRESULT WINAPI QISearch(void *base, const QITAB *table, REFIID riid, void **ppv)
_Must_inspect_result_ _In_ WDFDEVICE _In_ LPCGUID _Out_ PINTERFACE Interface