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.
43 lines
664 B
43 lines
664 B
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();
|
|
|
|
|
|
};
|
|
|
|
|
|
HRESULT
|
|
IsValidFilter(
|
|
LPWSTR ObjectName,
|
|
DWORD *pdwFilterId,
|
|
PFILTERS pFilters,
|
|
DWORD dwMaxFilters
|
|
);
|