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.

59 lines
1.3 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: dsenumobj.h
  8. //
  9. //--------------------------------------------------------------------------
  10. #include "resource.h"
  11. class C_dxj_DSEnumObject :
  12. public I_dxj_DSEnum,
  13. public CComObjectRoot
  14. {
  15. public:
  16. C_dxj_DSEnumObject() ;
  17. virtual ~C_dxj_DSEnumObject() ;
  18. BEGIN_COM_MAP(C_dxj_DSEnumObject)
  19. COM_INTERFACE_ENTRY(I_dxj_DSEnum)
  20. END_COM_MAP()
  21. DECLARE_AGGREGATABLE(C_dxj_DSEnumObject)
  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 getCount(
  33. /* [retval][out] */ long __RPC_FAR *count) ;
  34. static HRESULT create(DSOUNDENUMERATE pcbFunc,DSOUNDCAPTUREENUMERATE pcbFunc2,I_dxj_DSEnum **ppRet);
  35. public:
  36. DxDriverInfo *m_pList;
  37. long m_nCount;
  38. long m_nMax;
  39. BOOL m_bProblem;
  40. };