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.
|
|
#ifndef __CONTROL_ENUM__
#define __CONTROL_ENUM__
#include "general.h"
class CControlFolderEnum : public IEnumIDList { public: CControlFolderEnum(STRRET &str, LPCITEMIDLIST pidl, UINT shcontf); // IUnknown Methods
STDMETHODIMP QueryInterface(REFIID,void **); STDMETHODIMP_(ULONG) AddRef(void); STDMETHODIMP_(ULONG) Release(void);
// IEnumIDList Methods
STDMETHODIMP Next(ULONG celt, LPITEMIDLIST *rgelt, ULONG *pceltFetched); STDMETHODIMP Skip(ULONG celt); STDMETHODIMP Reset(); STDMETHODIMP Clone(LPENUMIDLIST *ppenum);
protected: ~CControlFolderEnum();
UINT m_cRef; // ref count
UINT m_shcontf; // enumeration flags
LPMALLOC m_pMalloc; HANDLE m_hEnumControl; BOOL m_bEnumStarted; TCHAR m_szCachePath[MAX_PATH]; };
#endif
|