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.

60 lines
1.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: dmcollectionobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // d3drmLightObj.h : Declaration of the C_dxj_DirectMusicCollectionObject
  11. #include "resource.h" // main symbols
  12. #include "dmusici.h"
  13. #include "dmusicc.h"
  14. #include "dmusicf.h"
  15. #define typedef__dxj_DirectMusicCollection IDirectMusicCollection8*
  16. /////////////////////////////////////////////////////////////////////////////
  17. // Direct
  18. //REVIEW -- using pointers to ID's is necessary because some compilers don't like
  19. //references as template arguments.
  20. class C_dxj_DirectMusicCollectionObject :
  21. public I_dxj_DirectMusicCollection,
  22. //public CComCoClass<C_dxj_DirectMusicCollectionObject, &CLSID__dxj_DirectMusicCollection>,
  23. public CComObjectRoot
  24. {
  25. public:
  26. C_dxj_DirectMusicCollectionObject();
  27. virtual ~C_dxj_DirectMusicCollectionObject();
  28. BEGIN_COM_MAP(C_dxj_DirectMusicCollectionObject)
  29. COM_INTERFACE_ENTRY(I_dxj_DirectMusicCollection)
  30. END_COM_MAP()
  31. //DECLARE_REGISTRY(CLSID__dxj_DirectMusicCollection, "DIRECT.DirectMusicCollection.1", "DIRECT.Direct3dRMLight.3", IDS_D3DRMLIGHT_DESC, THREADFLAGS_BOTH)
  32. DECLARE_AGGREGATABLE(C_dxj_DirectMusicCollectionObject)
  33. public:
  34. STDMETHOD(InternalSetObject)(IUnknown *lpdd);
  35. STDMETHOD(InternalGetObject)(IUnknown **lpdd);
  36. ////////////////////////////////////////////////////////////////////////////////////
  37. //
  38. private:
  39. DECL_VARIABLE(_dxj_DirectMusicCollection);
  40. public:
  41. DX3J_GLOBAL_LINKS( _dxj_DirectMusicCollection)
  42. };