mirror of https://github.com/tongzx/nt5src
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
85 lines
1.2 KiB
/*++
|
|
|
|
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;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|