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.

44 lines
825 B

  1. #ifndef _TRESPONSEDATA
  2. #define _TRESPONSEDATA
  3. class TResponseData
  4. {
  5. public:
  6. TResponseData (
  7. IN CONST LPCWSTR pszSchema,
  8. IN CONST DWORD dwType,
  9. IN CONST BYTE *pData,
  10. IN CONST ULONG uSize);
  11. virtual ~TResponseData ();
  12. inline BOOL
  13. bValid () CONST {return m_bValid;};
  14. inline LPCWSTR
  15. GetSchema (VOID) CONST {return m_pSchema;};
  16. inline PBYTE
  17. GetData (VOID) CONST {return m_pData;};
  18. inline DWORD
  19. GetType (VOID) CONST {return m_dwType;};
  20. inline ULONG
  21. GetSize (VOID) CONST {return m_uSize;};
  22. private:
  23. BOOL m_bValid;
  24. LPWSTR m_pSchema;
  25. DWORD m_dwType;
  26. PBYTE m_pData;
  27. ULONG m_uSize;
  28. };
  29. typedef TDoubleList<TResponseData *, DWORD> TResponseDataList;
  30. #endif