home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / amrtpnet.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  3KB  |  91 lines

  1. /*++
  2.  
  3. Copyright (c) 1996 Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     amrtpnet.h
  8.  
  9. Abstract:
  10.  
  11.     Definitions for ActiveMovie RTP Network Filters.
  12.  
  13. --*/
  14.  
  15.  
  16. ///////////////////////////////////////////////////////////////////////////////
  17. //                                                                           //
  18. // RTP Filter UUIDS                                                          //
  19. //                                                                           //
  20. ///////////////////////////////////////////////////////////////////////////////
  21.  
  22. DEFINE_GUID(CLSID_RTPRenderFilter,
  23. 0x00d20921, 0x7e20, 0x11d0, 0xb2, 0x91, 0x00, 0xc0, 0x4f, 0xc3, 0x1d, 0x18);
  24.  
  25. DEFINE_GUID(CLSID_RTPRenderFilterProperties,
  26. 0x00d20923, 0x7e20, 0x11d0, 0xb2, 0x91, 0x00, 0xc0, 0x4f, 0xc3, 0x1d, 0x18);
  27.  
  28. DEFINE_GUID(CLSID_RTPSourceFilter,
  29. 0x00d20920, 0x7e20, 0x11d0, 0xb2, 0x91, 0x00, 0xc0, 0x4f, 0xc3, 0x1d, 0x18);
  30.  
  31. DEFINE_GUID(CLSID_RTPSourceFilterProperties,
  32. 0x00d20922, 0x7e20, 0x11d0, 0xb2, 0x91, 0x00, 0xc0, 0x4f, 0xc3, 0x1d, 0x18);
  33.  
  34. DEFINE_GUID(IID_IRTPStream, 
  35. 0x00d20915, 0x7e20, 0x11d0, 0xb2, 0x91, 0x00, 0xc0, 0x4f, 0xc3, 0x1d, 0x18);
  36.  
  37. #ifndef _INC_AMRTPNET
  38. #define _INC_AMRTPNET
  39.  
  40. #include <rtp.h>
  41.  
  42.  
  43. ///////////////////////////////////////////////////////////////////////////////
  44. //                                                                           //
  45. // IRTPStream Interface                                                      //
  46. //                                                                           //
  47. ///////////////////////////////////////////////////////////////////////////////
  48.  
  49. DECLARE_INTERFACE_(IRTPStream, IUnknown) {
  50.  
  51.     STDMETHOD(GetAddress)(THIS_
  52.         LPBYTE  pRtpAddr,
  53.         LPDWORD pdwRtpAddrLen
  54.         ) PURE;
  55.  
  56.     STDMETHOD(SetAddress)(THIS_
  57.         LPBYTE pRtpAddr,
  58.         DWORD  dwRtpAddrLen
  59.         ) PURE;
  60.  
  61.     STDMETHOD(GetMulticastScope)(THIS_
  62.         LPDWORD pdwMulticastScope
  63.         ) PURE;
  64.  
  65.     STDMETHOD(SetMulticastScope)(THIS_
  66.         DWORD   dwMulticastScope
  67.         ) PURE;
  68.  
  69.     STDMETHOD(SetQualityOfService)(THIS_
  70.         QOS *   pQOS
  71.         ) PURE;
  72.  
  73.     STDMETHOD(GetQOSstate)(THIS_
  74.         DWORD *pdwQOSstate
  75.         ) PURE;
  76.  
  77.     STDMETHOD(SetQOSstate)(THIS_
  78.         DWORD dwQOSstate
  79.         ) PURE;
  80.  
  81.     STDMETHOD(GetMulticastLoopBack)(THIS_
  82.         DWORD *pdwMulticastLoopBack
  83.         ) PURE;
  84.  
  85.     STDMETHOD(SetMulticastLoopBack)(THIS_
  86.         DWORD dwMulticastLoopBack
  87.         ) PURE;
  88. };
  89.  
  90. #endif // _INC_AMRTPNET
  91.