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.

64 lines
1.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1999
  6. //
  7. // File: ddenumobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "resource.h"
  11. class C_dxj_DirectDrawEnumObject :
  12. public I_dxj_DirectDrawEnum,
  13. public CComObjectRoot
  14. {
  15. public:
  16. C_dxj_DirectDrawEnumObject() ;
  17. virtual ~C_dxj_DirectDrawEnumObject() ;
  18. BEGIN_COM_MAP(C_dxj_DirectDrawEnumObject)
  19. COM_INTERFACE_ENTRY(I_dxj_DirectDrawEnum)
  20. END_COM_MAP()
  21. DECLARE_AGGREGATABLE(C_dxj_DirectDrawEnumObject)
  22. public:
  23. HRESULT STDMETHODCALLTYPE getGuid(
  24. /* [in] */ long index,
  25. /* [retval][out] */ BSTR __RPC_FAR *guid);
  26. HRESULT STDMETHODCALLTYPE getDescription(
  27. /* [in] */ long index,
  28. /* [retval][out] */ BSTR __RPC_FAR *guid);
  29. HRESULT STDMETHODCALLTYPE getName(
  30. /* [in] */ long index,
  31. /* [retval][out] */ BSTR __RPC_FAR *guid);
  32. HRESULT STDMETHODCALLTYPE getMonitorHandle(
  33. /* [in] */ long index,
  34. /* [retval][out] */ long __RPC_FAR *ret);
  35. HRESULT STDMETHODCALLTYPE getCount(
  36. /* [retval][out] */ long __RPC_FAR *count);
  37. static HRESULT C_dxj_DirectDrawEnumObject::create(DDENUMERATEEX pcbFunc,I_dxj_DirectDrawEnum **ppRet);
  38. public:
  39. DxDriverInfoEx *m_pList;
  40. long m_nCount;
  41. long m_nMax;
  42. BOOL m_bProblem;
  43. };