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.

74 lines
2.0 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: dinputeffectobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "resource.h" // main symbols
  11. extern void* g_dxj_DirectInputEffect;
  12. #define typedef__dxj_DirectInputEffect LPDIRECTINPUTEFFECT
  13. /////////////////////////////////////////////////////////////////////////////
  14. // Direct
  15. class C_dxj_DirectInputEffectObject :
  16. public I_dxj_DirectInputEffect,
  17. public CComObjectRoot
  18. {
  19. public:
  20. C_dxj_DirectInputEffectObject() ;
  21. virtual ~C_dxj_DirectInputEffectObject();
  22. BEGIN_COM_MAP(C_dxj_DirectInputEffectObject)
  23. COM_INTERFACE_ENTRY(I_dxj_DirectInputEffect)
  24. END_COM_MAP()
  25. DECLARE_AGGREGATABLE(C_dxj_DirectInputEffectObject)
  26. public:
  27. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalSetObject(
  28. /* [in] */ IUnknown __RPC_FAR *lpdd) ;
  29. /* [hidden] */ HRESULT STDMETHODCALLTYPE InternalGetObject(
  30. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *lpdd) ;
  31. HRESULT STDMETHODCALLTYPE download( void) ;
  32. HRESULT STDMETHODCALLTYPE getEffectGuid(
  33. /* [retval][out] */ BSTR *guid) ;
  34. HRESULT STDMETHODCALLTYPE getEffectStatus(
  35. /* [retval][out] */ long __RPC_FAR *ret) ;
  36. HRESULT STDMETHODCALLTYPE start(
  37. /* [in] */ long iterations,
  38. /* [in] */ long flags) ;
  39. HRESULT STDMETHODCALLTYPE stop( void) ;
  40. HRESULT STDMETHODCALLTYPE unload( void) ;
  41. HRESULT STDMETHODCALLTYPE setParameters(
  42. /* [in] */ DIEffect __RPC_FAR *effectinfo, long flags) ;
  43. HRESULT STDMETHODCALLTYPE getParameters(
  44. /* [out][in] */ DIEffect __RPC_FAR *effectinfo) ;
  45. private:
  46. DECL_VARIABLE(_dxj_DirectInputEffect);
  47. public:
  48. DX3J_GLOBAL_LINKS(_dxj_DirectInputEffect);
  49. };