Source code of Windows XP (NT5)
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.

33 lines
754 B

  1. #ifndef _TBIDIREQUESTINTERFACEDATA
  2. #define _TBIDIREQUESTINTERFACEDATA
  3. class TBidiRequestInterfaceData
  4. {
  5. public:
  6. TBidiRequestInterfaceData (
  7. IBidiRequest *pRequest):
  8. m_pRequest (pRequest),
  9. m_bValid (FALSE) {m_pRequest->AddRef ();};
  10. virtual ~TBidiRequestInterfaceData () {m_pRequest->Release ();};
  11. inline BOOL
  12. bValid () CONST {return m_bValid;};
  13. inline IBidiRequest *
  14. GetInterface (VOID) CONST {return m_pRequest;};
  15. private:
  16. IBidiRequest *m_pRequest;
  17. BOOL m_bValid;
  18. };
  19. typedef TDoubleNode<TBidiRequestInterfaceData *, DWORD> TReqInterfaceNode;
  20. typedef TDoubleListLock<TBidiRequestInterfaceData *, DWORD> TReqInterfaceList;
  21. #endif