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.

29 lines
805 B

  1. // WMDMFormatEnum.cpp : Implementation of CWMDMFormatEnum
  2. #include "stdafx.h"
  3. #include "mswmdm.h"
  4. #include "WMDMFormatEnum.h"
  5. /////////////////////////////////////////////////////////////////////////////
  6. // CWMDMFormatEnum
  7. // IWMDMEnumFormatSupport Methods
  8. HRESULT CWMDMFormatEnum::Next(ULONG celt,
  9. _WAVEFORMATEX *pFormat,
  10. LPWSTR pwszMimeType,
  11. UINT nMaxChars,
  12. ULONG *pceltFetched)
  13. {
  14. return m_pEnum->Next(celt, pFormat, pwszMimeType, nMaxChars, pceltFetched);
  15. }
  16. HRESULT CWMDMFormatEnum::Reset()
  17. {
  18. return m_pEnum->Reset();
  19. }
  20. void CWMDMFormatEnum::SetContainedPointer(IMDSPEnumFormatSupport *pEnum)
  21. {
  22. m_pEnum = pEnum;
  23. m_pEnum->AddRef();
  24. return;
  25. }