mirror of https://github.com/tongzx/nt5src
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.
40 lines
825 B
40 lines
825 B
|
|
class FAR CNWCOMPATNamespaceEnum : public CNWCOMPATEnumVariant
|
|
{
|
|
public:
|
|
//
|
|
// IEnumVARIANT methods
|
|
//
|
|
STDMETHOD(Next)(
|
|
ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched
|
|
);
|
|
|
|
static HRESULT Create(
|
|
CCredentials &Credentials,
|
|
CNWCOMPATNamespaceEnum FAR* FAR*
|
|
);
|
|
|
|
CNWCOMPATNamespaceEnum();
|
|
~CNWCOMPATNamespaceEnum();
|
|
|
|
HRESULT
|
|
CNWCOMPATNamespaceEnum::GetComputerObject(
|
|
IDispatch ** ppDispatch
|
|
);
|
|
|
|
HRESULT
|
|
CNWCOMPATNamespaceEnum::EnumComputers(
|
|
ULONG cElements,
|
|
VARIANT FAR* pvar,
|
|
ULONG FAR* pcElementFetched
|
|
);
|
|
|
|
private:
|
|
NWOBJ_ID _dwResumeObjectID;
|
|
NWCONN_HANDLE _hConn;
|
|
CCredentials _Credentials;
|
|
};
|
|
|
|
|