windows-nt/Source/XPSP1/NT/ds/adsi/winnt/cenumns.hxx

63 lines
1.3 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
class FAR CWinNTNamespaceEnum : public CWinNTEnumVariant
{
public:
// IEnumVARIANT methods
STDMETHOD(Next)(ULONG cElements,
VARIANT FAR* pvar,
ULONG FAR* pcElementFetched);
static HRESULT Create(CWinNTNamespaceEnum FAR* FAR*, VARIANT var ,
CWinNTCredentials& Credentials);
CWinNTNamespaceEnum();
~CWinNTNamespaceEnum();
HRESULT
CWinNTNamespaceEnum::GetDomainObject(
IDispatch ** ppDispatch
);
HRESULT
CWinNTNamespaceEnum::EnumDomains(
ULONG cElements,
VARIANT FAR* pvar,
ULONG FAR* pcElementFetched
);
HRESULT
CWinNTNamespaceEnum::EnumObjects(
ULONG cElements,
VARIANT FAR* pvar,
ULONG FAR* pcElementFetched
);
HRESULT
CWinNTNamespaceEnum::EnumObjects(
DWORD ObjectType,
ULONG cElements,
VARIANT FAR * pvar,
ULONG FAR * pcElementFetched
);
private:
ObjectTypeList FAR *_pObjList;
PSERVER_INFO_100 _pBuffer;
DWORD _dwObjectReturned;
DWORD _dwObjectCurrentEntry;
DWORD _dwObjectTotal;
DWORD _dwResumeHandle;
BOOL _bNoMore;
CWinNTCredentials _Credentials;
};