| 162 | // expose our interfaces IMediaControl and IUnknown |
| 163 | |
| 164 | STDMETHODIMP |
| 165 | CMediaControl::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 |
nothing calls this directly
no test coverage detected