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.
 
 
 
 
 
 

46 lines
879 B

class FAR CLDAPNamespaceEnum : public CLDAPEnumVariant
{
public:
// IEnumVARIANT methods
STDMETHOD(Next)(ULONG cElements,
VARIANT FAR* pvar,
ULONG FAR* pcElementFetched);
static
HRESULT
Create(
CLDAPNamespaceEnum FAR* FAR*,
VARIANT,
CCredentials& Credentials,
LPTSTR pszNamespace
);
CLDAPNamespaceEnum();
~CLDAPNamespaceEnum();
HRESULT
CLDAPNamespaceEnum::GetTreeObject(
IDispatch ** ppDispatch
);
HRESULT
CLDAPNamespaceEnum::EnumObjects(
ULONG cElements,
VARIANT FAR* pvar,
ULONG FAR* pcElementFetched
);
private:
DWORD _dwIndex;
LPWSTR _pszNamespace;
ObjectTypeList FAR *_pObjList;
CCredentials _Credentials;
DWORD _dwPort;
};