windows-nt/Source/XPSP1/NT/ds/adsi/novellnw/cjobs.hxx
2020-09-26 16:20:57 +08:00

48 lines
1 KiB
C++

class CNWCOMPATJobCollection;
class CNWCOMPATJobCollection : INHERIT_TRACKING,
public CCoreADsObject,
public ISupportErrorInfo,
public IADsCollection
{
public:
/* IUnknown methods */
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
DECLARE_STD_REFCOUNTING
DECLARE_IDispatch_METHODS
NW_DECLARE_ISupportErrorInfo_METHODS
DECLARE_IADsCollection_METHODS
CNWCOMPATJobCollection::CNWCOMPATJobCollection();
CNWCOMPATJobCollection::~CNWCOMPATJobCollection();
static
HRESULT
CNWCOMPATJobCollection::CreateJobCollection(
BSTR bstrParent,
BSTR bstrPrinterName,
CCredentials &Credentials,
REFIID riid,
void **ppvObj
);
static
HRESULT
CNWCOMPATJobCollection::AllocateJobCollectionObject(
CNWCOMPATJobCollection ** ppJob
);
protected:
CDispatchMgr FAR * _pDispMgr;
CCredentials _Credentials;
NWCONN_HANDLE _hConn;
};