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.

57 lines
1.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: dpenumlocalapplicationsobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "resource.h"
  11. class C_dxj_DPEnumLocalApplicationsObject :
  12. public I_dxj_DPEnumLocalApplications,
  13. public CComObjectRoot
  14. {
  15. public:
  16. C_dxj_DPEnumLocalApplicationsObject() ;
  17. virtual ~C_dxj_DPEnumLocalApplicationsObject() ;
  18. BEGIN_COM_MAP(C_dxj_DPEnumLocalApplicationsObject)
  19. COM_INTERFACE_ENTRY(I_dxj_DPEnumLocalApplications)
  20. END_COM_MAP()
  21. DECLARE_AGGREGATABLE(C_dxj_DPEnumLocalApplicationsObject)
  22. public:
  23. HRESULT STDMETHODCALLTYPE getCount(
  24. /* [retval][out] */ long __RPC_FAR *count) ;
  25. HRESULT STDMETHODCALLTYPE getName( long i,
  26. /* [retval][out] */ BSTR __RPC_FAR *ret) ;
  27. HRESULT STDMETHODCALLTYPE getGuid( long i,
  28. /* [retval][out] */ BSTR __RPC_FAR *ret) ;
  29. static HRESULT create( IDirectPlayLobby3 * pdp, long flags, I_dxj_DPEnumLocalApplications **ppRet);
  30. public:
  31. DPLAppInfo *m_pList;
  32. long m_nCount;
  33. long m_nMax;
  34. BOOL m_bProblem;
  35. };