| 1018 | /* Override this to say what interfaces we support where */ |
| 1019 | |
| 1020 | STDMETHODIMP |
| 1021 | CEnumPins::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 | |
| 1038 | STDMETHODIMP_(ULONG) |
| 1039 | CEnumPins::AddRef() |
no test coverage detected