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.

52 lines
1.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: dienumdeviceobjectsobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "resource.h"
  11. class C_dxj_DIEnumDeviceObjectsObject :
  12. public I_dxj_DIEnumDeviceObjects,
  13. public CComObjectRoot
  14. {
  15. public:
  16. C_dxj_DIEnumDeviceObjectsObject() ;
  17. virtual ~C_dxj_DIEnumDeviceObjectsObject() ;
  18. BEGIN_COM_MAP(C_dxj_DIEnumDeviceObjectsObject)
  19. COM_INTERFACE_ENTRY(I_dxj_DIEnumDeviceObjects)
  20. END_COM_MAP()
  21. DECLARE_AGGREGATABLE(C_dxj_DIEnumDeviceObjectsObject)
  22. public:
  23. HRESULT STDMETHODCALLTYPE getItem(
  24. /* [in] */ long index,
  25. /* [out][in] */ I_dxj_DirectInputDeviceObjectInstance __RPC_FAR **info);
  26. HRESULT STDMETHODCALLTYPE getCount(
  27. /* [retval][out] */ long __RPC_FAR *count);
  28. static HRESULT C_dxj_DIEnumDeviceObjectsObject::create(LPDIRECTINPUTDEVICE8W pDI, long flags,I_dxj_DIEnumDeviceObjects **ppRet);
  29. public:
  30. DIDEVICEOBJECTINSTANCEW *m_pList;
  31. long m_nCount;
  32. long m_nMax;
  33. BOOL m_bProblem;
  34. };