Windows2000/private/shell/shell32/enum.h
2020-09-30 17:12:32 +02:00

16 lines
550 B
C

#ifndef ENUM_H_
#define ENUM_H_
typedef struct {
HDSA hdsa;
DWORD grfInvalid;
} SFEnumCacheData;
#define ENUMGRFFLAGS (SHCONTF_INCLUDEHIDDEN | SHCONTF_FOLDERS | SHCONTF_NONFOLDERS)
#define EnumCanCache(grfFlags) (!(grfFlags & ~(ENUMGRFFLAGS)))
STDAPI SFEnumCache_Create(IEnumIDList* penum, DWORD grfFlags, SFEnumCacheData* pcache, IShellFolder* psf, IEnumIDList **ppenumUnknown);
STDAPI_(void) SFEnumCache_Invalidate(SFEnumCacheData *pcache, DWORD grfFlags);
STDAPI_(void) SFEnumCache_Terminate(SFEnumCacheData *pcache);
#endif // ENUM_H_