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
44 lines
825 B
#ifndef _TRESPONSEDATA
|
|
#define _TRESPONSEDATA
|
|
|
|
class TResponseData
|
|
{
|
|
public:
|
|
|
|
TResponseData (
|
|
IN CONST LPCWSTR pszSchema,
|
|
IN CONST DWORD dwType,
|
|
IN CONST BYTE *pData,
|
|
IN CONST ULONG uSize);
|
|
|
|
virtual ~TResponseData ();
|
|
|
|
inline BOOL
|
|
bValid () CONST {return m_bValid;};
|
|
|
|
inline LPCWSTR
|
|
GetSchema (VOID) CONST {return m_pSchema;};
|
|
|
|
inline PBYTE
|
|
GetData (VOID) CONST {return m_pData;};
|
|
|
|
inline DWORD
|
|
GetType (VOID) CONST {return m_dwType;};
|
|
|
|
inline ULONG
|
|
GetSize (VOID) CONST {return m_uSize;};
|
|
|
|
|
|
private:
|
|
|
|
BOOL m_bValid;
|
|
LPWSTR m_pSchema;
|
|
DWORD m_dwType;
|
|
PBYTE m_pData;
|
|
ULONG m_uSize;
|
|
|
|
};
|
|
|
|
typedef TDoubleList<TResponseData *, DWORD> TResponseDataList;
|
|
|
|
#endif
|