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.
 
 
 
 
 
 

62 lines
1.1 KiB

//
// catenum.h
//
#ifndef CATENUM_H
#define CATENUM_H
#include "strary.h"
//////////////////////////////////////////////////////////////////////////////
//
// CEnumCatCache
//
//////////////////////////////////////////////////////////////////////////////
class CEnumCatCache
{
public:
CEnumCatCache() {}
~CEnumCatCache();
IEnumGUID *GetEnumItemsInCategory(REFGUID rguid);
typedef struct {
TfGuidAtom guidatom;
IEnumGUID *pEnumItems;
} GUIDENUMMAP;
private:
CStructArray<GUIDENUMMAP> _rgMap;
};
//////////////////////////////////////////////////////////////////////////////
//
// CGuidDwordCache
//
//////////////////////////////////////////////////////////////////////////////
class CGuidDwordCache
{
public:
CGuidDwordCache() {}
~CGuidDwordCache();
DWORD GetGuidDWORD(REFGUID rguid);
typedef struct {
TfGuidAtom guidatom;
DWORD dw;
} GUIDDWMAP;
private:
CStructArray<GUIDDWMAP> _rgMap;
};
#endif CATENUM_H