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

Method NonDelegatingQueryInterface

common/baseclasses/ctlutil.cpp:164–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162// expose our interfaces IMediaControl and IUnknown
163
164STDMETHODIMP
165CMediaControl::NonDelegatingQueryInterface(REFIID riid, __deref_out void **ppv)
166{
167 ValidateReadWritePtr(ppv, sizeof(PVOID));
168 if (riid == IID_IMediaControl)
169 {
170 return GetInterface((IMediaControl *)this, ppv);
171 }
172 else
173 {
174 return CUnknown::NonDelegatingQueryInterface(riid, ppv);
175 }
176}
177
178// return 1 if we support GetTypeInfo
179

Callers

nothing calls this directly

Calls 1

GetInterfaceFunction · 0.85

Tested by

no test coverage detected