Leaked source code of windows server 2003
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.

71 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. waveaddr.h
  5. Abstract:
  6. Declaration of the CWaveMSP
  7. Author:
  8. Zoltan Szilagyi September 6th, 1998
  9. --*/
  10. #ifndef __WAVEADDR_H_
  11. #define __WAVEADDR_H_
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15. #include "resource.h"
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CWaveMSP
  18. /////////////////////////////////////////////////////////////////////////////
  19. class CWaveMSP :
  20. public CMSPAddress,
  21. public CComCoClass<CWaveMSP, &CLSID_CSAMSP>,
  22. public CMSPObjectSafetyImpl
  23. {
  24. public:
  25. CWaveMSP();
  26. virtual ~CWaveMSP();
  27. // BUGUBG document it
  28. virtual ULONG MSPAddressAddRef(void);
  29. virtual ULONG MSPAddressRelease(void);
  30. DECLARE_REGISTRY_RESOURCEID(IDR_WaveMSP)
  31. DECLARE_POLY_AGGREGATABLE(CWaveMSP)
  32. // To add extra interfaces to this class, use the following:
  33. BEGIN_COM_MAP(CWaveMSP)
  34. COM_INTERFACE_ENTRY(IObjectSafety)
  35. COM_INTERFACE_ENTRY_CHAIN(CMSPAddress)
  36. END_COM_MAP()
  37. public:
  38. STDMETHOD (CreateMSPCall) (
  39. IN MSP_HANDLE htCall,
  40. IN DWORD dwReserved,
  41. IN DWORD dwMediaType,
  42. IN IUnknown * pOuterUnknown,
  43. OUT IUnknown ** ppMSPCall
  44. );
  45. STDMETHOD (ShutdownMSPCall) (
  46. IN IUnknown * pMSPCall
  47. );
  48. protected:
  49. DWORD GetCallMediaTypes(void);
  50. };
  51. #endif //__WAVEADDR_H_