Source code of Windows XP (NT5)
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.

50 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_DirectXFileEnumObject :
  12. public I_dxj_DirectXFileEnum,
  13. public CComObjectRoot
  14. {
  15. public:
  16. BEGIN_COM_MAP(C_dxj_DirectXFileEnumObject)
  17. COM_INTERFACE_ENTRY(I_dxj_DirectXFileEnum)
  18. END_COM_MAP()
  19. DECLARE_AGGREGATABLE(C_dxj_DirectXFileEnumObject)
  20. public:
  21. C_dxj_DirectXFileEnumObject();
  22. ~C_dxj_DirectXFileEnumObject();
  23. HRESULT STDMETHODCALLTYPE GetNextDataObject(
  24. /* [retval][out] */ I_dxj_DirectXFileData __RPC_FAR *__RPC_FAR *ret) ;
  25. HRESULT STDMETHODCALLTYPE GetDataObjectById(
  26. /* [in] */ BSTR id,
  27. I_dxj_DirectXFileData __RPC_FAR *__RPC_FAR *ret) ;
  28. HRESULT STDMETHODCALLTYPE GetDataObjectByName(
  29. /* [in] */ BSTR id,
  30. I_dxj_DirectXFileData __RPC_FAR *__RPC_FAR *ret);
  31. HRESULT Init( IDirectXFileEnumObject *pEnum);
  32. static HRESULT C_dxj_DirectXFileEnumObject::create(IDirectXFileEnumObject *pEnum, I_dxj_DirectXFileEnum **ret);
  33. private:
  34. IDirectXFileEnumObject *m_pXFileEnum;
  35. };