windows-nt/Source/XPSP1/NT/ds/adsi/novellnw/cjobs.hxx

48 lines
1 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
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;
};