MCPcopy Create free account
hub / github.com/Nevcairiel/LAVFilters / NonDelegatingQueryInterface

Method NonDelegatingQueryInterface

common/baseclasses/seekpt.cpp:24–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24STDMETHODIMP CSeekingPassThru::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv)
25{
26 if (riid == IID_ISeekingPassThru)
27 {
28 return GetInterface((ISeekingPassThru *)this, ppv);
29 }
30 else
31 {
32 if (m_pPosPassThru && (riid == IID_IMediaSeeking || riid == IID_IMediaPosition))
33 {
34 return m_pPosPassThru->NonDelegatingQueryInterface(riid, ppv);
35 }
36 else
37 {
38 return CUnknown::NonDelegatingQueryInterface(riid, ppv);
39 }
40 }
41}
42
43CSeekingPassThru::CSeekingPassThru(__in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr)
44 : CUnknown(pName, pUnk, phr)

Callers

nothing calls this directly

Calls 1

GetInterfaceFunction · 0.85

Tested by

no test coverage detected