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

Method NonDelegatingQueryInterface

common/baseclasses/sysclock.cpp:36–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36STDMETHODIMP CSystemClock::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv)
37{
38 if (riid == IID_IPersist)
39 {
40 return GetInterface(static_cast<IPersist *>(this), ppv);
41 }
42 else if (riid == IID_IAMClockAdjust)
43 {
44 return GetInterface(static_cast<IAMClockAdjust *>(this), ppv);
45 }
46 else
47 {
48 return CBaseReferenceClock::NonDelegatingQueryInterface(riid, ppv);
49 }
50}
51
52/* Return the clock's clsid */
53STDMETHODIMP

Callers

nothing calls this directly

Calls 1

GetInterfaceFunction · 0.85

Tested by

no test coverage detected