//==========================================================================; // // Devseq.h : types for device sequences // Copyright (c) Microsoft Corporation 1999. // ///////////////////////////////////////////////////////////////////////////// #pragma once #ifndef DEVSEQ_H #define DEVSEQ_H #include #include #include #include namespace BDATuningModel {}; namespace MSVideoControl { using namespace BDATuningModel; typedef CComQIPtr PQDevice; typedef CComQIPtr PQInputDevice; typedef CComQIPtr PQOutputDevice; typedef CComQIPtr PQVideoRenderer; typedef CComQIPtr PQAudioRenderer; typedef CComQIPtr PQFeature; #if 0 typedef CComQIPtr PQDevices; #endif typedef CComQIPtr PQInputDevices; typedef CComQIPtr PQOutputDevices; typedef CComQIPtr PQVideoRendererDevices; typedef CComQIPtr PQAudioRendererDevices; typedef CComQIPtr PQFeatures; typedef std::vector DeviceCollection; // REV2: since IMSVidXXXXXDevices is an ole collection rather than a com enumerator // we could do a real random access container for it. but, since all we need to do here // is enumerate it, we won't bother to do that work, at least for now. #if 0 typedef Forward_Sequence< PQDevices, PQEnumVARIANT, CComVariant, IMSVidDevices , IEnumVARIANT, VARIANT, std::allocator > VWDevices; #endif typedef Forward_Sequence< PQInputDevices, PQEnumVARIANT, CComVariant, IMSVidInputDevices , IEnumVARIANT, VARIANT, std::allocator > VWInputDevices; typedef Forward_Sequence< PQOutputDevices, PQEnumVARIANT, CComVariant, IMSVidOutputDevices , IEnumVARIANT, VARIANT, std::allocator > VWOutputDevices; typedef Forward_Sequence< PQVideoRendererDevices, PQEnumVARIANT, CComVariant, IMSVidVideoRendererDevices , IEnumVARIANT, VARIANT, std::allocator > VWVideoRendererDevices; typedef Forward_Sequence< PQAudioRendererDevices, PQEnumVARIANT, CComVariant, IMSVidAudioRendererDevices , IEnumVARIANT, VARIANT, std::allocator > VWAudioRendererDevices; typedef Forward_Sequence< PQFeatures, PQEnumVARIANT, CComVariant, IMSVidFeatures , IEnumVARIANT, VARIANT, std::allocator > VWFeatures; #endif }; // namespace // end of file devseq.h