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.
|
|
// WMDMFormatEnum.h : Declaration of the CWMDMFormatEnum
#ifndef __WMDMFORMATENUM_H_
#define __WMDMFORMATENUM_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CWMDMFormatEnum
class ATL_NO_VTABLE CWMDMFormatEnum : public CComObjectRootEx<CComMultiThreadModel>, public CComCoClass<CWMDMFormatEnum, &CLSID_WMDMFormatEnum>, public IWMDMEnumFormatSupport { public: CWMDMFormatEnum() : m_pEnum(NULL) { } ~CWMDMFormatEnum() { if (m_pEnum) m_pEnum->Release(); }
BEGIN_COM_MAP(CWMDMFormatEnum) COM_INTERFACE_ENTRY(IWMDMEnumFormatSupport) END_COM_MAP()
public: // IWMDMEnumFormatSupport
STDMETHOD(Next)(ULONG celt, _WAVEFORMATEX *pFormat, LPWSTR pwszMimeType, UINT nMaxChars, ULONG *pceltFetched); STDMETHOD(Reset)(); void SetContainedPointer(IMDSPEnumFormatSupport *pEnum); private: IMDSPEnumFormatSupport *m_pEnum; };
#endif //__WMDMFORMATENUM_H_
|