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.
 
 
 
 
 
 

39 lines
1.1 KiB

// MDSPEnumStorage.h : Declaration of the CMDSPEnumStorage
#ifndef __MDSPENUMSTORAGE_H_
#define __MDSPENUMSTORAGE_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CMDSPEnumStorage
class ATL_NO_VTABLE CMDSPEnumStorage :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CMDSPEnumStorage, &CLSID_MDSPEnumStorage>,
public IMDSPEnumStorage
{
public:
CMDSPEnumStorage();
~CMDSPEnumStorage();
DECLARE_REGISTRY_RESOURCEID(IDR_MDSPENUMSTORAGE)
BEGIN_COM_MAP(CMDSPEnumStorage)
COM_INTERFACE_ENTRY(IMDSPEnumStorage)
END_COM_MAP()
// IMDSPEnumStorage
public:
WCHAR m_wcsPath[MAX_PATH];
HANDLE m_hFFile;
int m_nEndSearch;
int m_nFindFileIndex;
STDMETHOD(Clone)(/*[out]*/ IMDSPEnumStorage **ppEnumStorage);
STDMETHOD(Reset)();
STDMETHOD(Skip)(/*[in]*/ ULONG celt, /*[out]*/ ULONG *pceltFetched);
STDMETHOD(Next)(/*[in]*/ ULONG celt, /*[out]*/ IMDSPStorage **ppStorage, /*[out]*/ ULONG *pceltFetched);
};
#endif //__MDSPENUMSTORAGE_H_