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.

53 lines
1.4 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_DirectXFileSaveObject :
  12. public I_dxj_DirectXFileSave,
  13. public CComObjectRoot
  14. {
  15. public:
  16. BEGIN_COM_MAP(C_dxj_DirectXFileSaveObject)
  17. COM_INTERFACE_ENTRY(I_dxj_DirectXFileSave)
  18. END_COM_MAP()
  19. DECLARE_AGGREGATABLE(C_dxj_DirectXFileSaveObject)
  20. public:
  21. C_dxj_DirectXFileSaveObject();
  22. ~C_dxj_DirectXFileSaveObject();
  23. HRESULT STDMETHODCALLTYPE SaveTemplates(
  24. /* [in] */ long count,
  25. SAFEARRAY __RPC_FAR * __RPC_FAR *templateGuids) ;
  26. HRESULT STDMETHODCALLTYPE CreateDataObject(
  27. /* [in] */ BSTR templateGuid,
  28. /* [in] */ BSTR name,
  29. /* [in] */ BSTR dataTypeGuid,
  30. /* [in] */ long bytecount,
  31. /* [in] */ void __RPC_FAR *data,
  32. /* [retval][out] */ I_dxj_DirectXFileData __RPC_FAR *__RPC_FAR *ret) ;
  33. HRESULT STDMETHODCALLTYPE SaveData(
  34. /* [in] */ I_dxj_DirectXFileData __RPC_FAR *dataObj) ;
  35. static HRESULT C_dxj_DirectXFileSaveObject::create( IDirectXFileSaveObject *pSave ,I_dxj_DirectXFileSave **ret);
  36. IDirectXFileSaveObject *m_pXfileSave;
  37. };