Leaked source code of windows server 2003
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.
 
 
 
 
 
 

59 lines
1.2 KiB

/*****************************************************************************\
* 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