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.

61 lines
1.7 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: dmchordmapobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. // d3drmLightObj.h : Declaration of the C_dxj_DirectMusicChordMapObject
  11. #include "resource.h" // main symbols
  12. #include "dmusici.h"
  13. #include "dmusicc.h"
  14. #include "dmusicf.h"
  15. #define typedef__dxj_DirectMusicChordMap IDirectMusicChordMap*
  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_DirectMusicChordMapObject :
  21. public I_dxj_DirectMusicChordMap,
  22. //public CComCoClass<C_dxj_DirectMusicChordMapObject, &CLSID__dxj_DirectMusicChordMap>,
  23. public CComObjectRoot
  24. {
  25. public:
  26. C_dxj_DirectMusicChordMapObject();
  27. virtual ~C_dxj_DirectMusicChordMapObject();
  28. BEGIN_COM_MAP(C_dxj_DirectMusicChordMapObject)
  29. COM_INTERFACE_ENTRY(I_dxj_DirectMusicChordMap)
  30. END_COM_MAP()
  31. //DECLARE_REGISTRY(CLSID__dxj_DirectMusicChordMap, "DIRECT.DirectMusicChordMap.1", "DIRECT.Direct3dRMLight.3", IDS_D3DRMLIGHT_DESC, THREADFLAGS_BOTH)
  32. DECLARE_AGGREGATABLE(C_dxj_DirectMusicChordMapObject)
  33. public:
  34. STDMETHOD(InternalSetObject)(IUnknown *lpdd);
  35. STDMETHOD(InternalGetObject)(IUnknown **lpdd);
  36. HRESULT STDMETHODCALLTYPE getScale(long *s);
  37. ////////////////////////////////////////////////////////////////////////////////////
  38. //
  39. private:
  40. DECL_VARIABLE(_dxj_DirectMusicChordMap);
  41. public:
  42. DX3J_GLOBAL_LINKS( _dxj_DirectMusicChordMap)
  43. };