windows-nt/Source/XPSP1/NT/multimedia/dshow/vidctl/cc2impl.h

40 lines
1 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//==========================================================================;
//
// closedcaptioningimpl.h : additional infrastructure to support implementing IMSVidClosedCaptionings
// nicely from c++
// Copyright (c) Microsoft Corporation 1999.
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
#ifndef CLOSEDCAPTIONINGIMPL2_H
#define CLOSEDCAPTIONINGIMPL2_H
#include "ccimpl.h"
namespace MSVideoControl {
template<class T, LPCGUID LibID, LPCGUID KSCategory, class MostDerivedInterface = IMSVidClosedCaptioning>
class DECLSPEC_NOVTABLE IMSVidClosedCaptioningImpl2 : public IMSVidClosedCaptioningImpl<T, LibID, KSCategory, MostDerivedInterface> {
public:
IMSVidClosedCaptioningImpl2() {}
STDMETHOD(put_Service)(MSVidCCService ccServ) {
return E_NOTIMPL;
}
STDMETHOD(get_Service)(MSVidCCService *ccServ) {
if (!ccServ) {
return E_POINTER;
}
return E_NOTIMPL;
}
};
}; /// namespace
#endif
// end of file - closedcaptioningimpl.h