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.

69 lines
1.8 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: dienumeffectsobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "resource.h"
  11. class C_dxj_DirectInputEnumEffectsObject :
  12. public I_dxj_DirectInputEnumEffects,
  13. public CComObjectRoot
  14. {
  15. public:
  16. C_dxj_DirectInputEnumEffectsObject() ;
  17. virtual ~C_dxj_DirectInputEnumEffectsObject() ;
  18. BEGIN_COM_MAP(C_dxj_DirectInputEnumEffectsObject)
  19. COM_INTERFACE_ENTRY(I_dxj_DirectInputEnumEffects)
  20. END_COM_MAP()
  21. DECLARE_AGGREGATABLE(C_dxj_DirectInputEnumEffectsObject)
  22. public:
  23. HRESULT STDMETHODCALLTYPE getCount(
  24. /* [retval][out] */ long __RPC_FAR *ret);
  25. HRESULT STDMETHODCALLTYPE getEffectGuid(
  26. /* [in] */ long i,
  27. /* [retval][out] */ BSTR __RPC_FAR *ret);
  28. HRESULT STDMETHODCALLTYPE getType(
  29. /* [in] */ long i,
  30. /* [retval][out] */ long __RPC_FAR *ret);
  31. HRESULT STDMETHODCALLTYPE getStaticParams(
  32. /* [in] */ long i,
  33. /* [retval][out] */ long __RPC_FAR *ret);
  34. HRESULT STDMETHODCALLTYPE getDynamicParams(
  35. /* [in] */ long i,
  36. /* [retval][out] */ long __RPC_FAR *ret);
  37. HRESULT STDMETHODCALLTYPE getName(
  38. /* [in] */ long i,
  39. /* [retval][out] */ BSTR __RPC_FAR *ret);
  40. static HRESULT C_dxj_DirectInputEnumEffectsObject::create(LPDIRECTINPUTDEVICE2 pDI,long effType,I_dxj_DirectInputEnumEffects **ppRet) ;
  41. public:
  42. DIEFFECTINFO *m_pList;
  43. long m_nCount;
  44. long m_nMax;
  45. BOOL m_bProblem;
  46. };