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.

85 lines
1.2 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 IADsPrintQueue,
  14. public IADsPrintQueueOperations,
  15. public IADsPropertyList
  16. {
  17. public:
  18. /* IUnknown methods */
  19. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj);
  20. DECLARE_STD_REFCOUNTING;
  21. DECLARE_IDispatch_METHODS;
  22. DECLARE_IADs_METHODS;
  23. DECLARE_IADsPrintQueue_METHODS;
  24. DECLARE_IADsPrintQueueOperations_METHODS;
  25. DECLARE_IADsPropertyList_METHODS;
  26. //
  27. // constructor and destructor
  28. //
  29. CNDSPrintQueue();
  30. ~CNDSPrintQueue();
  31. static
  32. HRESULT
  33. CNDSPrintQueue:: CreatePrintQueue(
  34. IADs * pADs,
  35. REFIID riid,
  36. LPVOID * ppvoid
  37. );
  38. static
  39. HRESULT
  40. CNDSPrintQueue::AllocatePrintQueueObject(
  41. IADs * pADs,
  42. CNDSPrintQueue ** ppPrintQueue
  43. );
  44. protected:
  45. IADs FAR * _pADs;
  46. IADsPropertyList * _pADsPropList;
  47. CDispatchMgr * _pDispMgr;
  48. };