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.

49 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: dpmsgobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "resource.h"
  11. class C_dxj_DirectXFileReferenceObject :
  12. public I_dxj_DirectXFileReference,
  13. public I_dxj_DirectXFileObject,
  14. public CComObjectRoot
  15. {
  16. public:
  17. BEGIN_COM_MAP(C_dxj_DirectXFileReferenceObject)
  18. COM_INTERFACE_ENTRY(I_dxj_DirectXFileReference)
  19. COM_INTERFACE_ENTRY(I_dxj_DirectXFileObject)
  20. END_COM_MAP()
  21. DECLARE_AGGREGATABLE(C_dxj_DirectXFileReferenceObject)
  22. public:
  23. C_dxj_DirectXFileReferenceObject();
  24. ~C_dxj_DirectXFileReferenceObject();
  25. HRESULT STDMETHODCALLTYPE GetName( /* [retval][out] */ BSTR __RPC_FAR *name) ;
  26. HRESULT STDMETHODCALLTYPE GetId( /* [retval][out] */ BSTR __RPC_FAR *name);
  27. HRESULT STDMETHODCALLTYPE Resolve( /* [retval][out] */ I_dxj_DirectXFileData __RPC_FAR *__RPC_FAR *obj) ;
  28. HRESULT Init(IDirectXFileDataReference *pref);
  29. static HRESULT C_dxj_DirectXFileReferenceObject::create( IDirectXFileDataReference *pref, I_dxj_DirectXFileReference **ret);
  30. private:
  31. IDirectXFileDataReference *m_pXFileReference;
  32. };