Source code of Windows XP (NT5)
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.

47 lines
1.0 KiB

  1. class CNWCOMPATJobCollection;
  2. class CNWCOMPATJobCollection : INHERIT_TRACKING,
  3. public CCoreADsObject,
  4. public ISupportErrorInfo,
  5. public IADsCollection
  6. {
  7. public:
  8. /* IUnknown methods */
  9. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) ;
  10. DECLARE_STD_REFCOUNTING
  11. DECLARE_IDispatch_METHODS
  12. NW_DECLARE_ISupportErrorInfo_METHODS
  13. DECLARE_IADsCollection_METHODS
  14. CNWCOMPATJobCollection::CNWCOMPATJobCollection();
  15. CNWCOMPATJobCollection::~CNWCOMPATJobCollection();
  16. static
  17. HRESULT
  18. CNWCOMPATJobCollection::CreateJobCollection(
  19. BSTR bstrParent,
  20. BSTR bstrPrinterName,
  21. CCredentials &Credentials,
  22. REFIID riid,
  23. void **ppvObj
  24. );
  25. static
  26. HRESULT
  27. CNWCOMPATJobCollection::AllocateJobCollectionObject(
  28. CNWCOMPATJobCollection ** ppJob
  29. );
  30. protected:
  31. CDispatchMgr FAR * _pDispMgr;
  32. CCredentials _Credentials;
  33. NWCONN_HANDLE _hConn;
  34. };