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

  1. /*****************************************************************************\
  2. * MODULE: request.h
  3. *
  4. * PURPOSE: Implementation of COM interface for BidiSpooler
  5. *
  6. * Copyright (C) 2000 Microsoft Corporation
  7. *
  8. * History:
  9. *
  10. * 03/07/00 Weihai Chen (weihaic) Created
  11. *
  12. \*****************************************************************************/
  13. #ifndef _TBIDIREQUESTCONTAINER
  14. #define _TBIDIREQUESTCONTAINER
  15. #include "priv.h"
  16. class TBidiRequestContainer : public IBidiRequestContainer
  17. {
  18. public:
  19. // IUnknown
  20. STDMETHOD (QueryInterface) (
  21. REFIID iid,
  22. void** ppv) ;
  23. STDMETHOD_ (ULONG, AddRef) () ;
  24. STDMETHOD_ (ULONG, Release) () ;
  25. STDMETHOD (AddRequest) (
  26. IN IBidiRequest *pRequest);
  27. STDMETHOD (GetEnumObject) (
  28. OUT IEnumUnknown **ppenum);
  29. STDMETHOD (GetRequestCount)(
  30. OUT ULONG *puCount);
  31. // Constructor
  32. TBidiRequestContainer() ;
  33. // Destructor
  34. ~TBidiRequestContainer();
  35. inline BOOL
  36. bValid() CONST {return m_bValid;};
  37. private:
  38. BOOL m_bValid;
  39. LONG m_cRef ;
  40. TReqInterfaceList m_ReqInterfaceList;
  41. } ;
  42. #endif