windows-nt/Source/XPSP1/NT/inetsrv/iis/admin/adsi/adsiis/object.hxx

70 lines
1.2 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1997.
//
// File: object.hxx
//
// Contents: ADSI object Type class
//
// History:
//----------------------------------------------------------------------------
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
BuildObjectArray(
VARIANT var,
SAFEARRAY ** ppFilter,
DWORD * pdwNumElements
);
HRESULT
BuildDefaultObjectArray(
PFILTERS pFilters,
DWORD dwMaxFilters,
SAFEARRAY ** ppFilter,
DWORD * pdwNumElements
);
HRESULT
IsValidFilter(
LPWSTR ObjectName,
DWORD *pdwFilterId,
PFILTERS pFilters,
DWORD dwMaxFilters
);