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

Method QueryInterface

common/baseclasses/amfilter.cpp:1020–1036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1018/* Override this to say what interfaces we support where */
1019
1020STDMETHODIMP
1021CEnumPins::QueryInterface(REFIID riid, __deref_out void **ppv)
1022{
1023 CheckPointer(ppv, E_POINTER);
1024
1025 /* Do we have this interface */
1026
1027 if (riid == IID_IEnumPins || riid == IID_IUnknown)
1028 {
1029 return GetInterface((IEnumPins *)this, ppv);
1030 }
1031 else
1032 {
1033 *ppv = NULL;
1034 return E_NOINTERFACE;
1035 }
1036}
1037
1038STDMETHODIMP_(ULONG)
1039CEnumPins::AddRef()

Callers 8

CreatePosPassThruFunction · 0.45
JoinFilterGraphMethod · 0.45
ReconnectPinMethod · 0.45
CheckConnectMethod · 0.45
ReceiveMethod · 0.45
ReceiveCanBlockMethod · 0.45
PassNotifyMethod · 0.45
ChangeMediaTypeMethod · 0.45

Calls 1

GetInterfaceFunction · 0.85

Tested by

no test coverage detected