35 lines
496 B
C++
35 lines
496 B
C++
class FAR ObjectTypeList
|
|
{
|
|
private:
|
|
SAFEARRAY FAR * _pObjList;
|
|
DWORD _dwCurrentIndex;
|
|
DWORD _dwLBound;
|
|
DWORD _dwUBound;
|
|
DWORD _dwMaxElements;
|
|
|
|
public:
|
|
ObjectTypeList();
|
|
|
|
static
|
|
HRESULT
|
|
ObjectTypeList::CreateObjectTypeList(
|
|
VARIANT vFilter,
|
|
ObjectTypeList ** ppObjectTypeList
|
|
);
|
|
|
|
~ObjectTypeList();
|
|
|
|
HRESULT
|
|
GetCurrentObject(
|
|
PDWORD pdwObject
|
|
);
|
|
|
|
HRESULT
|
|
Next();
|
|
|
|
HRESULT
|
|
Reset();
|
|
|
|
|
|
};
|