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.

82 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1995 Microsoft Corporation
  3. Module Name:
  4. cprinter.hxx
  5. Abstract:
  6. Contains definitions for
  7. CWinNTPrintQueue
  8. Author:
  9. Ram Viswanathan (ramv) 11-18-95
  10. Revision History:
  11. --*/
  12. class CNDSPrintQueue:INHERIT_TRACKING,
  13. public ISupportErrorInfo,
  14. public IADsPrintQueue,
  15. public IADsPrintQueueOperations,
  16. public IADsPropertyList
  17. {
  18. public:
  19. /* IUnknown methods */
  20. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj);
  21. DECLARE_STD_REFCOUNTING;
  22. DECLARE_IDispatch_METHODS;
  23. DECLARE_ISupportErrorInfo_METHODS;
  24. DECLARE_IADs_METHODS;
  25. DECLARE_IADsPrintQueue_METHODS;
  26. DECLARE_IADsPrintQueueOperations_METHODS;
  27. DECLARE_IADsPropertyList_METHODS;
  28. //
  29. // constructor and destructor
  30. //
  31. CNDSPrintQueue();
  32. ~CNDSPrintQueue();
  33. static
  34. HRESULT
  35. CNDSPrintQueue:: CreatePrintQueue(
  36. IADs * pADs,
  37. REFIID riid,
  38. LPVOID * ppvoid
  39. );
  40. static
  41. HRESULT
  42. CNDSPrintQueue::AllocatePrintQueueObject(
  43. IADs * pADs,
  44. CNDSPrintQueue ** ppPrintQueue
  45. );
  46. protected:
  47. IADs FAR * _pADs;
  48. IADsPropertyList * _pADsPropList;
  49. CDispatchMgr * _pDispMgr;
  50. };