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.
89 lines
1.5 KiB
89 lines
1.5 KiB
class FAR CNDSGroupCollectionEnum : public CNDSEnumVariant
|
|
{
|
|
public:
|
|
CNDSGroupCollectionEnum();
|
|
~CNDSGroupCollectionEnum();
|
|
|
|
static
|
|
HRESULT
|
|
CNDSGroupCollectionEnum::Create(
|
|
BSTR bstrGroupName,
|
|
CCredentials& Credentials,
|
|
CNDSGroupCollectionEnum FAR* FAR* ppenumvariant,
|
|
VARIANT var,
|
|
VARIANT varFilter
|
|
);
|
|
|
|
|
|
private:
|
|
|
|
VARIANT _vMembers;
|
|
ObjectTypeList *_pObjList;
|
|
|
|
|
|
BSTR _bstrGroupName;
|
|
|
|
DWORD _dwIndex;
|
|
DWORD _dwSUBound;
|
|
DWORD _dwSLBound;
|
|
DWORD _dwMultiple;
|
|
|
|
CCredentials _Credentials;
|
|
|
|
HRESULT
|
|
CNDSGroupCollectionEnum::ValidateSingleVariant(
|
|
VARIANT var
|
|
);
|
|
|
|
HRESULT
|
|
CNDSGroupCollectionEnum::ValidateMultipleVariant(
|
|
VARIANT var
|
|
);
|
|
|
|
HRESULT
|
|
CNDSGroupCollectionEnum::ValidateVariant(
|
|
VARIANT var
|
|
);
|
|
|
|
|
|
HRESULT
|
|
CNDSGroupCollectionEnum::GetGroupMultipleMemberObject(
|
|
IDispatch ** ppDispatch
|
|
);
|
|
|
|
HRESULT
|
|
CNDSGroupCollectionEnum::GetGroupSingleMemberObject(
|
|
IDispatch ** ppDispatch
|
|
);
|
|
|
|
HRESULT
|
|
CNDSGroupCollectionEnum::EnumGroupMembers(
|
|
ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched
|
|
);
|
|
|
|
|
|
STDMETHOD(Next)(
|
|
ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched
|
|
);
|
|
};
|
|
|
|
|
|
|
|
#define EMPTY 1
|
|
#define SINGLE 2
|
|
#define MULTIPLE 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|