| 812 | } |
| 813 | |
| 814 | STDMETHODIMP CMpcVideoRenderer::QuerySupported(REFGUID PropSet, ULONG Id, ULONG* pTypeSupport) |
| 815 | { |
| 816 | DLog(L"IKsPropertySet::QuerySupported({}, ...)", PropSetAndIdToString(PropSet, Id)); |
| 817 | |
| 818 | if (PropSet == AM_KSPROPSETID_CopyProt) { |
| 819 | if (Id == AM_PROPERTY_COPY_MACROVISION || Id == AM_PROPERTY_COPY_DIGITAL_CP) { |
| 820 | *pTypeSupport = KSPROPERTY_SUPPORT_SET; |
| 821 | return S_OK; |
| 822 | } |
| 823 | if (Id == AM_PROPERTY_COPY_ANALOG_COMPONENT) { |
| 824 | *pTypeSupport = KSPROPERTY_SUPPORT_GET; |
| 825 | return S_OK; |
| 826 | } |
| 827 | } |
| 828 | else { |
| 829 | return E_PROP_SET_UNSUPPORTED; |
| 830 | } |
| 831 | |
| 832 | return E_PROP_ID_UNSUPPORTED; |
| 833 | } |
| 834 | |
| 835 | // IMFGetService |
| 836 | STDMETHODIMP CMpcVideoRenderer::GetService(REFGUID guidService, REFIID riid, LPVOID *ppvObject) |
nothing calls this directly
no test coverage detected