Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
826 B

  1. // TVProfile.h : Declaration of the CTVProfile
  2. #ifndef __TVPROFILE_H_
  3. #define __TVPROFILE_H_
  4. #include "resource.h" // main symbols
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CTVProfile
  7. class ATL_NO_VTABLE CTVProfile :
  8. public CComObjectRootEx<CComSingleThreadModel>,
  9. public CComCoClass<CTVProfile, &CLSID_TVProfile>,
  10. public IDispatchImpl<ITVProfile, &IID_ITVProfile, &LIBID_TVPROFLib>
  11. {
  12. public:
  13. CTVProfile()
  14. {
  15. }
  16. DECLARE_REGISTRY_RESOURCEID(IDR_TVPROFILE)
  17. DECLARE_PROTECT_FINAL_CONSTRUCT()
  18. BEGIN_COM_MAP(CTVProfile)
  19. COM_INTERFACE_ENTRY(ITVProfile)
  20. COM_INTERFACE_ENTRY(IDispatch)
  21. END_COM_MAP()
  22. // ITVProfile
  23. public:
  24. STDMETHOD(get_AudioDestination)(/*[out, retval]*/ long *pVal);
  25. STDMETHOD(get_IPSinkAddress)(/*[out, retval]*/ BSTR *pVal);
  26. };
  27. #endif //__TVPROFILE_H_