MCPcopy Create free account
hub / github.com/Inori/GPCS4 / QueryInterface

Method QueryInterface

3rdParty/rtaudio/include/iasiothiscallresolver.cpp:375–383  ·  view source on GitHub ↗

Implement IUnknown methods as assert(false). IASIOThiscallResolver is not really a COM object, just a wrapper which will work with the ASIO SDK. If you wanted to use ASIO without the SDK you might want to implement COM aggregation in these methods.

Source from the content-addressed store, hash-verified

373// If you wanted to use ASIO without the SDK you might want to implement COM
374// aggregation in these methods.
375HRESULT STDMETHODCALLTYPE IASIOThiscallResolver::QueryInterface(REFIID riid, void **ppv)
376{
377 (void)riid; // suppress unused variable warning
378
379 assert( false ); // this function should never be called by the ASIO SDK.
380
381 *ppv = NULL;
382 return E_NOINTERFACE;
383}
384
385ULONG STDMETHODCALLTYPE IASIOThiscallResolver::AddRef()
386{

Callers 1

WasapiResamplerMethod · 0.80

Calls 1

assertClass · 0.85

Tested by

no test coverage detected