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

86 lines
1.2 KiB
C++

/*++
Copyright (c) 1995 Microsoft Corporation
Module Name:
cprinter.hxx
Abstract:
Contains definitions for
CWinNTPrintQueue
Author:
Ram Viswanathan (ramv) 11-18-95
Revision History:
--*/
class CNDSPrintQueue:INHERIT_TRACKING,
public IADsPrintQueue,
public IADsPrintQueueOperations,
public IADsPropertyList
{
public:
/* IUnknown methods */
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj);
DECLARE_STD_REFCOUNTING;
DECLARE_IDispatch_METHODS;
DECLARE_IADs_METHODS;
DECLARE_IADsPrintQueue_METHODS;
DECLARE_IADsPrintQueueOperations_METHODS;
DECLARE_IADsPropertyList_METHODS;
//
// constructor and destructor
//
CNDSPrintQueue();
~CNDSPrintQueue();
static
HRESULT
CNDSPrintQueue:: CreatePrintQueue(
IADs * pADs,
REFIID riid,
LPVOID * ppvoid
);
static
HRESULT
CNDSPrintQueue::AllocatePrintQueueObject(
IADs * pADs,
CNDSPrintQueue ** ppPrintQueue
);
protected:
IADs FAR * _pADs;
IADsPropertyList * _pADsPropList;
CDispatchMgr * _pDispMgr;
};