windows-nt/Source/XPSP1/NT/printscan/print/spooler/spoolss/bidispl/reqcont.h

60 lines
1.2 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*****************************************************************************\
* MODULE: request.h
*
* PURPOSE: Implementation of COM interface for BidiSpooler
*
* Copyright (C) 2000 Microsoft Corporation
*
* History:
*
* 03/07/00 Weihai Chen (weihaic) Created
*
\*****************************************************************************/
#ifndef _TBIDIREQUESTCONTAINER
#define _TBIDIREQUESTCONTAINER
#include "priv.h"
class TBidiRequestContainer : public IBidiRequestContainer
{
public:
// IUnknown
STDMETHOD (QueryInterface) (
REFIID iid,
void** ppv) ;
STDMETHOD_ (ULONG, AddRef) () ;
STDMETHOD_ (ULONG, Release) () ;
STDMETHOD (AddRequest) (
IN IBidiRequest *pRequest);
STDMETHOD (GetEnumObject) (
OUT IEnumUnknown **ppenum);
STDMETHOD (GetRequestCount)(
OUT ULONG *puCount);
// Constructor
TBidiRequestContainer() ;
// Destructor
~TBidiRequestContainer();
inline BOOL
bValid() CONST {return m_bValid;};
private:
BOOL m_bValid;
LONG m_cRef ;
TReqInterfaceList m_ReqInterfaceList;
} ;
#endif