| 22 | } |
| 23 | |
| 24 | STDMETHODIMP 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 | |
| 43 | CSeekingPassThru::CSeekingPassThru(__in_opt LPCTSTR pName, __inout_opt LPUNKNOWN pUnk, __inout HRESULT *phr) |
| 44 | : CUnknown(pName, pUnk, phr) |
nothing calls this directly
no test coverage detected