windows-nt/Source/XPSP1/NT/printscan/print/spooler/spoolss/bidispl/respdata.h

45 lines
781 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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