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.

69 lines
1.9 KiB

  1. #include "resource.h" // main symbols
  2. #define typedef__dxj_DirectSoundFXWavesReverb IDirectSoundFXWavesReverb*
  3. /////////////////////////////////////////////////////////////////////////////
  4. // Direct
  5. //REVIEW -- using pointers to ID's is necessary because some compilers don't like
  6. //references as template arguments.
  7. class C_dxj_DirectSoundFXWavesReverbObject :
  8. #ifdef USING_IDISPATCH
  9. public CComDualImpl<I_dxj_DirectSoundFXWavesReverb, &IID_I_dxj_DirectSoundFXWavesReverb, &LIBID_DIRECTLib>,
  10. public ISupportErrorInfo,
  11. #else
  12. public I_dxj_DirectSoundFXWavesReverb,
  13. #endif
  14. public CComObjectRoot
  15. {
  16. public:
  17. C_dxj_DirectSoundFXWavesReverbObject() ;
  18. virtual ~C_dxj_DirectSoundFXWavesReverbObject() ;
  19. BEGIN_COM_MAP(C_dxj_DirectSoundFXWavesReverbObject)
  20. COM_INTERFACE_ENTRY(I_dxj_DirectSoundFXWavesReverb)
  21. #ifdef USING_IDISPATCH
  22. COM_INTERFACE_ENTRY(IDispatch)
  23. COM_INTERFACE_ENTRY(ISupportErrorInfo)
  24. #endif
  25. END_COM_MAP()
  26. DECLARE_AGGREGATABLE(C_dxj_DirectSoundFXWavesReverbObject)
  27. #ifdef USING_IDISPATCH
  28. // ISupportsErrorInfo
  29. STDMETHOD(InterfaceSupportsErrorInfo)(REFIID riid);
  30. #endif
  31. // I_dxj_DirectSoundFXWavesReverb
  32. public:
  33. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalSetObject(
  34. /* [in] */ IUnknown __RPC_FAR *lpdd);
  35. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalGetObject(
  36. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *lpdd);
  37. HRESULT STDMETHODCALLTYPE SetAllParameters(DSFXWAVESREVERB_CDESC *params);
  38. HRESULT STDMETHODCALLTYPE GetAllParameters(DSFXWAVESREVERB_CDESC *params);
  39. ////////////////////////////////////////////////////////////////////////
  40. //
  41. // note: this is public for the callbacks
  42. DECL_VARIABLE(_dxj_DirectSoundFXWavesReverb);
  43. private:
  44. public:
  45. DX3J_GLOBAL_LINKS(_dxj_DirectSoundFXWavesReverb);
  46. DWORD InternalAddRef();
  47. DWORD InternalRelease();
  48. };