| 3 |
tristanc |
1 |
#include "pch.h"
|
|
|
2 |
#pragma hdrstop
|
|
|
3 |
|
|
|
4 |
#include "CDataStore.h"
|
|
|
5 |
|
| 31 |
tristanc |
6 |
|
| 3 |
tristanc |
7 |
/****************************************************************************
|
|
|
8 |
*
|
| 31 |
tristanc |
9 |
* Client memory addresses
|
| 3 |
tristanc |
10 |
*
|
|
|
11 |
***/
|
|
|
12 |
|
| 32 |
tristanc |
13 |
#define CDATASTORE__INITIALIZE 0x00401050
|
|
|
14 |
#define CDATASTORE__RESET 0x004010E0
|
|
|
15 |
#define CDATASTORE__DESTROY 0x00403880
|
|
|
16 |
#define CDATASTORE__SETCHAR 0x00417C80
|
|
|
17 |
#define CDATASTORE__SETUCHAR 0x00417CD0
|
|
|
18 |
#define CDATASTORE__SETSHORT 0x00417D20
|
|
|
19 |
#define CDATASTORE__SETUSHORT 0x00417D70
|
|
|
20 |
#define CDATASTORE__SETINT 0x00417DC0
|
|
|
21 |
#define CDATASTORE__SETUINT 0x00417E10
|
|
|
22 |
#define CDATASTORE__SETLONG 0x00417E60
|
|
|
23 |
#define CDATASTORE__SETULONG 0x00417EB0
|
|
|
24 |
#define CDATASTORE__SETINT64 0x00417F00
|
|
|
25 |
#define CDATASTORE__SETUINT64 0x00417F60
|
|
|
26 |
#define CDATASTORE__SETFLOAT 0x00417FC0
|
| 35 |
tristanc |
27 |
#define CDATASTORE__PUTCHAR 0x0047AFE0
|
|
|
28 |
#define CDATASTORE__PUTUCHAR 0x0047AFE0
|
| 32 |
tristanc |
29 |
#define CDATASTORE__PUTSHORT 0x004180D0
|
|
|
30 |
#define CDATASTORE__PUTUSHORT 0x00418130
|
|
|
31 |
#define CDATASTORE__PUTINT 0x0047B0A0
|
|
|
32 |
#define CDATASTORE__PUTUINT 0x0047B0A0
|
|
|
33 |
#define CDATASTORE__PUTLONG 0x00418250
|
|
|
34 |
#define CDATASTORE__PUTULONG 0x004182B0
|
|
|
35 |
#define CDATASTORE__PUTINT64 0x0047B100
|
|
|
36 |
#define CDATASTORE__PUTUINT64 0x0047B100
|
|
|
37 |
#define CDATASTORE__PUTFLOAT 0x0047B160
|
|
|
38 |
#define CDATASTORE__PUTSTRING 0x0047B300
|
|
|
39 |
#define CDATASTORE__PUTARRAY 0x00418570
|
|
|
40 |
#define CDATASTORE__PUTARRAY2 0x00418680
|
|
|
41 |
#define CDATASTORE__PUTARRAY3 0x00418790
|
|
|
42 |
#define CDATASTORE__PUTARRAY4 0x004188B0
|
|
|
43 |
#define CDATASTORE__PUTARRAY5 0x004189D0
|
|
|
44 |
#define CDATASTORE__PUTDATA 0x00418C10
|
|
|
45 |
#define CDATASTORE__GETCHAR 0x00418C30
|
|
|
46 |
#define CDATASTORE__GETUCHAR 0x00418CB0
|
|
|
47 |
#define CDATASTORE__GETSHORT 0x00418D30
|
|
|
48 |
#define CDATASTORE__GETUSHORT 0x00418DB0
|
|
|
49 |
#define CDATASTORE__GETINT 0x0047B3C0
|
|
|
50 |
#define CDATASTORE__GETUINT 0x0047B3C0
|
|
|
51 |
#define CDATASTORE__GETLONG 0x00418F30
|
|
|
52 |
#define CDATASTORE__GETULONG 0x00418FB0
|
|
|
53 |
#define CDATASTORE__GETINT64 0x00419030
|
|
|
54 |
#define CDATASTORE__GETUINT64 0x004190B0
|
|
|
55 |
#define CDATASTORE__GETFLOAT 0x00419130
|
|
|
56 |
#define CDATASTORE__GETSTRING 0x004191B0
|
|
|
57 |
#define CDATASTORE__GETSTRING2 0x004192E0
|
|
|
58 |
#define CDATASTORE__GETARRAY 0x00419400
|
|
|
59 |
#define CDATASTORE__GETARRAY2 0x00419510
|
|
|
60 |
#define CDATASTORE__GETARRAY3 0x00419620
|
|
|
61 |
#define CDATASTORE__GETARRAY4 0x00419740
|
|
|
62 |
#define CDATASTORE__GETARRAY5 0x00419860
|
|
|
63 |
#define CDATASTORE__GETDATA 0x00419AA0
|
|
|
64 |
#define CDATASTORE__GETBUFFERPARAMS 0x00419B50
|
|
|
65 |
#define CDATASTORE__DETACHBUFFER 0x00419B80
|
| 3 |
tristanc |
66 |
|
| 31 |
tristanc |
67 |
|
| 3 |
tristanc |
68 |
/****************************************************************************
|
|
|
69 |
*
|
| 31 |
tristanc |
70 |
* Client function pointers
|
| 3 |
tristanc |
71 |
*
|
|
|
72 |
***/
|
|
|
73 |
|
| 31 |
tristanc |
74 |
CDataStore* (__thiscall* CDataStore__InitializePtr)(CDataStore*) = *(CDataStore*(__thiscall*)(CDataStore *))CDATASTORE__INITIALIZE;
|
|
|
75 |
|
|
|
76 |
CDataStore* (__thiscall* CDataStore__ResetPtr)(CDataStore*) = *(CDataStore*(__thiscall*)(CDataStore *))CDATASTORE__RESET;
|
|
|
77 |
|
|
|
78 |
CDataStore* (__thiscall* CDataStore__DestroyPtr)(CDataStore*) = *(CDataStore*(__thiscall*)(CDataStore *))CDATASTORE__DESTROY;
|
|
|
79 |
|
|
|
80 |
CDataStore& (__thiscall* CDataStore__SetCharPtr)(CDataStore*,DWORD,CHAR) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,CHAR))CDATASTORE__SETCHAR;
|
|
|
81 |
|
|
|
82 |
CDataStore& (__thiscall* CDataStore__SetUCharPtr)(CDataStore*,DWORD,UCHAR) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,UCHAR))CDATASTORE__SETUCHAR;
|
|
|
83 |
|
|
|
84 |
CDataStore& (__thiscall* CDataStore__SetShortPtr)(CDataStore*,DWORD,SHORT) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,SHORT))CDATASTORE__SETSHORT;
|
|
|
85 |
|
|
|
86 |
CDataStore& (__thiscall* CDataStore__SetUShortPtr)(CDataStore*,DWORD,USHORT) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,USHORT))CDATASTORE__SETSHORT;
|
|
|
87 |
|
|
|
88 |
CDataStore& (__thiscall* CDataStore__SetIntPtr)(CDataStore*,DWORD,INT) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,INT))CDATASTORE__SETINT;
|
|
|
89 |
|
|
|
90 |
CDataStore& (__thiscall* CDataStore__SetUIntPtr)(CDataStore*,DWORD,DWORD) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,DWORD))CDATASTORE__SETUINT;
|
|
|
91 |
|
|
|
92 |
CDataStore& (__thiscall* CDataStore__SetLongPtr)(CDataStore*,DWORD,long) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,long))CDATASTORE__SETLONG;
|
|
|
93 |
|
|
|
94 |
CDataStore& (__thiscall* CDataStore__SetULongPtr)(CDataStore*,DWORD,DWORD) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,DWORD))CDATASTORE__SETULONG;
|
|
|
95 |
|
|
|
96 |
CDataStore& (__thiscall* CDataStore__SetInt64Ptr)(CDataStore*,DWORD,INT64) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,INT64))CDATASTORE__SETINT64;
|
|
|
97 |
|
|
|
98 |
CDataStore& (__thiscall* CDataStore__SetUInt64Ptr)(CDataStore*,DWORD,UINT64) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,UINT64))CDATASTORE__SETUINT64;
|
|
|
99 |
|
|
|
100 |
CDataStore& (__thiscall* CDataStore__SetFloatPtr)(CDataStore*,DWORD,float) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD,float))CDATASTORE__SETFLOAT;
|
|
|
101 |
|
|
|
102 |
CDataStore& (__thiscall* CDataStore__PutCharPtr)(CDataStore*,char) = *(CDataStore&(__thiscall*)(CDataStore*,char))CDATASTORE__PUTCHAR;
|
|
|
103 |
|
|
|
104 |
CDataStore& (__thiscall* CDataStore__PutUCharPtr)(CDataStore*,UCHAR) = *(CDataStore&(__thiscall*)(CDataStore*,UCHAR))CDATASTORE__PUTUCHAR;
|
|
|
105 |
|
|
|
106 |
CDataStore& (__thiscall* CDataStore__PutShortPtr)(CDataStore*,short) = *(CDataStore&(__thiscall*)(CDataStore*,short))CDATASTORE__PUTSHORT;
|
|
|
107 |
|
|
|
108 |
CDataStore& (__thiscall* CDataStore__PutUShortPtr)(CDataStore*,USHORT) = *(CDataStore&(__thiscall*)(CDataStore*,USHORT))CDATASTORE__PUTUSHORT;
|
|
|
109 |
|
|
|
110 |
CDataStore& (__thiscall* CDataStore__PutIntPtr)(CDataStore*,int) = *(CDataStore&(__thiscall*)(CDataStore*,int))CDATASTORE__PUTINT;
|
|
|
111 |
|
|
|
112 |
CDataStore& (__thiscall* CDataStore__PutUIntPtr)(CDataStore*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,UINT))CDATASTORE__PUTUINT;
|
|
|
113 |
|
|
|
114 |
CDataStore& (__thiscall* CDataStore__PutLongPtr)(CDataStore*,long) = *(CDataStore&(__thiscall*)(CDataStore*,long))CDATASTORE__PUTLONG;
|
|
|
115 |
|
|
|
116 |
CDataStore& (__thiscall* CDataStore__PutULongPtr)(CDataStore*,DWORD) = *(CDataStore&(__thiscall*)(CDataStore*,DWORD))CDATASTORE__PUTULONG;
|
|
|
117 |
|
|
|
118 |
CDataStore& (__thiscall* CDataStore__PutInt64Ptr)(CDataStore*,INT64) = *(CDataStore&(__thiscall*)(CDataStore*,INT64))CDATASTORE__PUTINT64;
|
|
|
119 |
|
|
|
120 |
CDataStore& (__thiscall* CDataStore__PutUInt64Ptr)(CDataStore*,UINT64) = *(CDataStore&(__thiscall*)(CDataStore*,UINT64))CDATASTORE__PUTUINT64;
|
|
|
121 |
|
|
|
122 |
CDataStore& (__thiscall* CDataStore__PutFloatPtr)(CDataStore*,float) = *(CDataStore&(__thiscall*)(CDataStore*,float))CDATASTORE__PUTFLOAT;
|
|
|
123 |
|
|
|
124 |
CDataStore& (__thiscall* CDataStore__PutStringPtr)(CDataStore*,LPCSTR) = *(CDataStore&(__thiscall*)(CDataStore*,LPCSTR))CDATASTORE__PUTSTRING;
|
|
|
125 |
|
|
|
126 |
CDataStore& (__thiscall* CDataStore__PutArrayPtr)(CDataStore*,UCHAR const*,DWORD) = *(CDataStore&(__thiscall*)(CDataStore*,UCHAR const*,DWORD))CDATASTORE__PUTARRAY;
|
|
|
127 |
|
|
|
128 |
CDataStore& (__thiscall* CDataStore__PutArrayPtr2)(CDataStore*,USHORT const*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,USHORT const*,UINT))CDATASTORE__PUTARRAY2;
|
|
|
129 |
|
|
|
130 |
CDataStore& (__thiscall* CDataStore__PutArrayPtr3)(CDataStore*,ULONG const*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,ULONG const*,UINT))CDATASTORE__PUTARRAY3;
|
|
|
131 |
|
|
|
132 |
CDataStore& (__thiscall* CDataStore__PutArrayPtr4)(CDataStore*,UINT64 const*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,UINT64 const*,UINT))CDATASTORE__PUTARRAY4;
|
|
|
133 |
|
|
|
134 |
CDataStore& (__thiscall* CDataStore__PutArrayPtr5)(CDataStore*,float const*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,float const*,UINT))CDATASTORE__PUTARRAY5;
|
|
|
135 |
|
|
|
136 |
CDataStore& (__thiscall* CDataStore__PutDataPtr)(CDataStore*,const void*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,const void*,UINT))CDATASTORE__PUTDATA;
|
|
|
137 |
|
|
|
138 |
CDataStore& (__thiscall* CDataStore__GetCharPtr)(CDataStore*,char&) = *(CDataStore&(__thiscall*)(CDataStore*,char&))CDATASTORE__GETCHAR;
|
|
|
139 |
|
|
|
140 |
CDataStore& (__thiscall* CDataStore__GetUCharPtr)(CDataStore*,UCHAR&) = *(CDataStore&(__thiscall*)(CDataStore*,UCHAR&))CDATASTORE__GETUCHAR;
|
|
|
141 |
|
|
|
142 |
CDataStore& (__thiscall* CDataStore__GetShortPtr)(CDataStore*,short&) = *(CDataStore&(__thiscall*)(CDataStore*,short&))CDATASTORE__GETSHORT;
|
|
|
143 |
|
|
|
144 |
CDataStore& (__thiscall* CDataStore__GetUShortPtr)(CDataStore*,USHORT&) = *(CDataStore&(__thiscall*)(CDataStore*,USHORT&))CDATASTORE__GETUSHORT;
|
|
|
145 |
|
|
|
146 |
CDataStore& (__thiscall* CDataStore__GetIntPtr)(CDataStore*,int&) = *(CDataStore&(__thiscall*)(CDataStore*,int&))CDATASTORE__GETINT;
|
|
|
147 |
|
|
|
148 |
CDataStore& (__thiscall* CDataStore__GetUIntPtr)(CDataStore*,UINT&) = *(CDataStore&(__thiscall*)(CDataStore*,UINT&))CDATASTORE__GETUINT;
|
|
|
149 |
|
|
|
150 |
CDataStore& (__thiscall* CDataStore__GetLongPtr)(CDataStore*,long&) = *(CDataStore&(__thiscall*)(CDataStore*,long&))CDATASTORE__GETLONG;
|
|
|
151 |
|
|
|
152 |
CDataStore& (__thiscall* CDataStore__GetULongPtr)(CDataStore*,ULONG&) = *(CDataStore&(__thiscall*)(CDataStore*,ULONG&))CDATASTORE__GETULONG;
|
|
|
153 |
|
|
|
154 |
CDataStore& (__thiscall* CDataStore__GetInt64Ptr)(CDataStore*,INT64&) = *(CDataStore&(__thiscall*)(CDataStore*,INT64&))CDATASTORE__GETINT64;
|
|
|
155 |
|
|
|
156 |
CDataStore& (__thiscall* CDataStore__GetUInt64Ptr)(CDataStore*,UINT64&) = *(CDataStore&(__thiscall*)(CDataStore*,UINT64&))CDATASTORE__GETUINT64;
|
|
|
157 |
|
|
|
158 |
CDataStore& (__thiscall* CDataStore__GetFloatPtr)(CDataStore*,float&) = *(CDataStore&(__thiscall*)(CDataStore*,float&))CDATASTORE__GETFLOAT;
|
|
|
159 |
|
|
|
160 |
CDataStore& (__thiscall* CDataStore__GetStringPtr)(CDataStore*,LPSTR,DWORD) = *(CDataStore&(__thiscall*)(CDataStore*,LPSTR,DWORD))CDATASTORE__GETSTRING;
|
|
|
161 |
|
|
|
162 |
CDataStore& (__thiscall* CDataStore__GetStringPtr2)(CDataStore*,LPWSTR,DWORD) = *(CDataStore&(__thiscall*)(CDataStore*,LPWSTR,DWORD))CDATASTORE__GETSTRING2;
|
|
|
163 |
|
|
|
164 |
CDataStore& (__thiscall* CDataStore__GetArrayPtr)(CDataStore*,UCHAR*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,UCHAR*,UINT))CDATASTORE__GETARRAY;
|
|
|
165 |
|
|
|
166 |
CDataStore& (__thiscall* CDataStore__GetArrayPtr2)(CDataStore*,USHORT*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,USHORT*,UINT))CDATASTORE__GETARRAY2;
|
|
|
167 |
|
|
|
168 |
CDataStore& (__thiscall* CDataStore__GetArrayPtr3)(CDataStore*,ULONG*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,ULONG*,UINT))CDATASTORE__GETARRAY3;
|
|
|
169 |
|
|
|
170 |
CDataStore& (__thiscall* CDataStore__GetArrayPtr4)(CDataStore*,UINT64*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,UINT64*,UINT))CDATASTORE__GETARRAY4;
|
|
|
171 |
|
|
|
172 |
CDataStore& (__thiscall* CDataStore__GetArrayPtr5)(CDataStore*,float*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,float*,UINT))CDATASTORE__GETARRAY5;
|
|
|
173 |
|
|
|
174 |
CDataStore& (__thiscall* CDataStore__GetDataPtr)(CDataStore*,void*,UINT) = *(CDataStore&(__thiscall*)(CDataStore*,void*,UINT))CDATASTORE__GETDATA;
|
|
|
175 |
|
|
|
176 |
void (__thiscall* CDataStore__GetBufferParamsPtr)(const CDataStore*,const void**,UINT*,UINT*) = *(void(__thiscall*)(const CDataStore*,const void**,UINT*,UINT*))CDATASTORE__GETBUFFERPARAMS;
|
|
|
177 |
|
|
|
178 |
void (__thiscall* CDataStore__DetachBufferPtr)(CDataStore*,void**,UINT*,UINT*) = *(void (__thiscall*)(CDataStore*,void**,UINT*,UINT*))CDATASTORE__DETACHBUFFER;
|
|
|
179 |
|
|
|
180 |
|
|
|
181 |
/****************************************************************************
|
|
|
182 |
*
|
|
|
183 |
* Externals
|
|
|
184 |
*
|
|
|
185 |
***/
|
|
|
186 |
|
| 3 |
tristanc |
187 |
//=======================================================================
|
| 31 |
tristanc |
188 |
void CDataStore::Initialize (CDataStore* pData) {
|
| 3 |
tristanc |
189 |
CDataStore__InitializePtr(pData);
|
|
|
190 |
}
|
|
|
191 |
|
|
|
192 |
//=======================================================================
|
| 31 |
tristanc |
193 |
void CDataStore::Destroy (CDataStore* pData) {
|
| 3 |
tristanc |
194 |
CDataStore__DestroyPtr(pData);
|
|
|
195 |
}
|
|
|
196 |
|
|
|
197 |
//=======================================================================
|
| 31 |
tristanc |
198 |
CDataStore::CDataStore () {
|
| 3 |
tristanc |
199 |
Initialize(this);
|
|
|
200 |
}
|
|
|
201 |
|
|
|
202 |
//=======================================================================
|
| 31 |
tristanc |
203 |
CDataStore::~CDataStore () {
|
| 3 |
tristanc |
204 |
Destroy(this);
|
|
|
205 |
}
|
|
|
206 |
|
|
|
207 |
//=======================================================================
|
| 31 |
tristanc |
208 |
CDataStore* CDataStore::Reset () {
|
| 3 |
tristanc |
209 |
return CDataStore__ResetPtr(this);
|
|
|
210 |
}
|
|
|
211 |
|
|
|
212 |
//=======================================================================
|
| 31 |
tristanc |
213 |
CDataStore& CDataStore::Set (DWORD pos, char bytes) {
|
| 3 |
tristanc |
214 |
return CDataStore__SetCharPtr(this,pos,bytes);
|
|
|
215 |
}
|
|
|
216 |
|
|
|
217 |
//=======================================================================
|
| 31 |
tristanc |
218 |
CDataStore& CDataStore::Set (DWORD pos, UCHAR bytes) {
|
| 3 |
tristanc |
219 |
return CDataStore__SetUCharPtr(this, pos, bytes);
|
|
|
220 |
}
|
|
|
221 |
|
|
|
222 |
//=======================================================================
|
| 31 |
tristanc |
223 |
CDataStore& CDataStore::Set (DWORD pos, short bytes) {
|
| 3 |
tristanc |
224 |
return CDataStore__SetShortPtr(this, pos, bytes);
|
|
|
225 |
}
|
|
|
226 |
|
|
|
227 |
//=======================================================================
|
| 31 |
tristanc |
228 |
CDataStore& CDataStore::Set (DWORD pos, USHORT bytes) {
|
| 3 |
tristanc |
229 |
return CDataStore__SetUShortPtr(this, pos, bytes);
|
|
|
230 |
}
|
|
|
231 |
|
|
|
232 |
//=======================================================================
|
| 31 |
tristanc |
233 |
CDataStore& CDataStore::Set (DWORD pos, int bytes) {
|
| 3 |
tristanc |
234 |
return CDataStore__SetIntPtr(this, pos, bytes);
|
|
|
235 |
}
|
|
|
236 |
|
|
|
237 |
//=======================================================================
|
| 31 |
tristanc |
238 |
CDataStore& CDataStore::Set (DWORD pos, UINT bytes) {
|
| 3 |
tristanc |
239 |
return CDataStore__SetUIntPtr(this, pos, bytes);
|
|
|
240 |
}
|
|
|
241 |
|
|
|
242 |
//=======================================================================
|
| 31 |
tristanc |
243 |
CDataStore& CDataStore::Set (DWORD pos, long bytes) {
|
| 3 |
tristanc |
244 |
return CDataStore__SetLongPtr(this, pos, bytes);
|
|
|
245 |
}
|
|
|
246 |
|
|
|
247 |
//=======================================================================
|
| 31 |
tristanc |
248 |
CDataStore& CDataStore::Set (DWORD pos, ULONG bytes) {
|
| 3 |
tristanc |
249 |
return CDataStore__SetULongPtr(this, pos, bytes);
|
|
|
250 |
}
|
|
|
251 |
|
|
|
252 |
//=======================================================================
|
| 31 |
tristanc |
253 |
CDataStore& CDataStore::Set (DWORD pos, INT64 bytes) {
|
| 3 |
tristanc |
254 |
return CDataStore__SetInt64Ptr(this, pos, bytes);
|
|
|
255 |
}
|
|
|
256 |
|
|
|
257 |
//=======================================================================
|
| 31 |
tristanc |
258 |
CDataStore& CDataStore::Set (DWORD pos, UINT64 bytes) {
|
| 3 |
tristanc |
259 |
return CDataStore__SetUInt64Ptr(this, pos, bytes);
|
|
|
260 |
}
|
|
|
261 |
|
|
|
262 |
//=======================================================================
|
| 31 |
tristanc |
263 |
CDataStore& CDataStore::Set (DWORD pos, float bytes) {
|
| 3 |
tristanc |
264 |
return CDataStore__SetFloatPtr(this, pos, bytes);
|
|
|
265 |
}
|
|
|
266 |
|
|
|
267 |
//=======================================================================
|
| 31 |
tristanc |
268 |
CDataStore& CDataStore::Put (char val) {
|
| 3 |
tristanc |
269 |
return CDataStore__PutCharPtr(this,val);
|
|
|
270 |
}
|
|
|
271 |
|
|
|
272 |
//=======================================================================
|
| 31 |
tristanc |
273 |
CDataStore& CDataStore::Put (UCHAR val) {
|
| 3 |
tristanc |
274 |
return CDataStore__PutUCharPtr(this, val);
|
|
|
275 |
}
|
|
|
276 |
|
|
|
277 |
//=======================================================================
|
| 31 |
tristanc |
278 |
CDataStore& CDataStore::Put (short val) {
|
| 3 |
tristanc |
279 |
return CDataStore__PutShortPtr(this, val);
|
|
|
280 |
}
|
|
|
281 |
|
|
|
282 |
//=======================================================================
|
| 31 |
tristanc |
283 |
CDataStore& CDataStore::Put (USHORT val) {
|
| 3 |
tristanc |
284 |
return CDataStore__PutUShortPtr(this, val);
|
|
|
285 |
}
|
|
|
286 |
|
|
|
287 |
//=======================================================================
|
| 31 |
tristanc |
288 |
CDataStore& CDataStore::Put (int val) {
|
| 3 |
tristanc |
289 |
return CDataStore__PutIntPtr(this, val);
|
|
|
290 |
}
|
|
|
291 |
|
|
|
292 |
//=======================================================================
|
| 31 |
tristanc |
293 |
CDataStore& CDataStore::Put (UINT val) {
|
| 3 |
tristanc |
294 |
return CDataStore__PutUIntPtr(this, val);
|
|
|
295 |
}
|
|
|
296 |
|
|
|
297 |
//=======================================================================
|
| 31 |
tristanc |
298 |
CDataStore& CDataStore::Put (long val) {
|
| 3 |
tristanc |
299 |
return CDataStore__PutLongPtr(this, val);
|
|
|
300 |
}
|
|
|
301 |
|
|
|
302 |
//=======================================================================
|
| 31 |
tristanc |
303 |
CDataStore& CDataStore::Put (ULONG val) {
|
| 3 |
tristanc |
304 |
return CDataStore__PutULongPtr(this, val);
|
|
|
305 |
}
|
|
|
306 |
|
|
|
307 |
//=======================================================================
|
| 31 |
tristanc |
308 |
CDataStore& CDataStore::Put (INT64 val) {
|
| 3 |
tristanc |
309 |
return CDataStore__PutInt64Ptr(this, val);
|
|
|
310 |
}
|
|
|
311 |
|
|
|
312 |
//=======================================================================
|
| 31 |
tristanc |
313 |
CDataStore& CDataStore::Put (UINT64 val) {
|
| 3 |
tristanc |
314 |
return CDataStore__PutUInt64Ptr(this, val);
|
|
|
315 |
}
|
|
|
316 |
|
|
|
317 |
//=======================================================================
|
| 31 |
tristanc |
318 |
CDataStore& CDataStore::Put (float val) {
|
| 3 |
tristanc |
319 |
return CDataStore__PutFloatPtr(this, val);
|
|
|
320 |
}
|
|
|
321 |
|
|
|
322 |
//=======================================================================
|
| 31 |
tristanc |
323 |
CDataStore& CDataStore::PutString (char const* pval) {
|
| 3 |
tristanc |
324 |
return CDataStore__PutStringPtr(this,pval);
|
|
|
325 |
}
|
|
|
326 |
|
|
|
327 |
//=======================================================================
|
| 31 |
tristanc |
328 |
CDataStore& CDataStore::PutArray (UCHAR const* pval, DWORD bytes) {
|
| 3 |
tristanc |
329 |
return CDataStore__PutArrayPtr(this,pval,bytes);
|
|
|
330 |
}
|
|
|
331 |
|
|
|
332 |
//=======================================================================
|
| 31 |
tristanc |
333 |
CDataStore& CDataStore::PutArray (USHORT const* pval, DWORD bytes) {
|
| 3 |
tristanc |
334 |
return CDataStore__PutArrayPtr2(this, pval, bytes);
|
|
|
335 |
}
|
|
|
336 |
|
|
|
337 |
//=======================================================================
|
| 31 |
tristanc |
338 |
CDataStore& CDataStore::PutArray (ULONG const* pval, DWORD bytes) {
|
| 3 |
tristanc |
339 |
return CDataStore__PutArrayPtr3(this, pval, bytes);
|
|
|
340 |
}
|
|
|
341 |
|
|
|
342 |
//=======================================================================
|
| 31 |
tristanc |
343 |
CDataStore& CDataStore::PutArray (UINT64 const* pval, DWORD bytes) {
|
| 3 |
tristanc |
344 |
return CDataStore__PutArrayPtr4(this, pval, bytes);
|
|
|
345 |
}
|
|
|
346 |
|
|
|
347 |
//=======================================================================
|
| 31 |
tristanc |
348 |
CDataStore& CDataStore::PutArray (float const* pval, DWORD bytes) {
|
| 3 |
tristanc |
349 |
return CDataStore__PutArrayPtr5(this, pval, bytes);
|
|
|
350 |
}
|
|
|
351 |
|
|
|
352 |
//=======================================================================
|
| 31 |
tristanc |
353 |
CDataStore& CDataStore::PutData (void const* pval, DWORD bytes) {
|
| 3 |
tristanc |
354 |
return CDataStore__PutDataPtr(this,pval,bytes);
|
|
|
355 |
}
|
|
|
356 |
|
|
|
357 |
//=======================================================================
|
| 31 |
tristanc |
358 |
CDataStore& CDataStore::Get (char& pval) {
|
| 3 |
tristanc |
359 |
return CDataStore__GetCharPtr(this,pval);
|
|
|
360 |
}
|
|
|
361 |
|
|
|
362 |
//=======================================================================
|
| 31 |
tristanc |
363 |
CDataStore& CDataStore::Get (UCHAR& pval) {
|
| 3 |
tristanc |
364 |
return CDataStore__GetUCharPtr(this, pval);
|
|
|
365 |
}
|
|
|
366 |
|
|
|
367 |
//=======================================================================
|
| 31 |
tristanc |
368 |
CDataStore& CDataStore::Get (short& pval) {
|
| 3 |
tristanc |
369 |
return CDataStore__GetShortPtr(this, pval);
|
|
|
370 |
}
|
|
|
371 |
|
|
|
372 |
//=======================================================================
|
| 31 |
tristanc |
373 |
CDataStore& CDataStore::Get (USHORT& pval) {
|
| 3 |
tristanc |
374 |
return CDataStore__GetUShortPtr(this, pval);
|
|
|
375 |
}
|
|
|
376 |
|
|
|
377 |
//=======================================================================
|
| 31 |
tristanc |
378 |
CDataStore& CDataStore::Get (int& pval) {
|
| 3 |
tristanc |
379 |
return CDataStore__GetIntPtr(this, pval);
|
|
|
380 |
}
|
|
|
381 |
|
|
|
382 |
//=======================================================================
|
| 31 |
tristanc |
383 |
CDataStore& CDataStore::Get (UINT& pval) {
|
| 3 |
tristanc |
384 |
return CDataStore__GetUIntPtr(this, pval);
|
|
|
385 |
}
|
|
|
386 |
|
|
|
387 |
//=======================================================================
|
| 31 |
tristanc |
388 |
CDataStore& CDataStore::Get (long& pval) {
|
| 3 |
tristanc |
389 |
return CDataStore__GetLongPtr(this, pval);
|
|
|
390 |
}
|
|
|
391 |
|
|
|
392 |
//=======================================================================
|
| 31 |
tristanc |
393 |
CDataStore& CDataStore::Get (ULONG& pval) {
|
| 3 |
tristanc |
394 |
return CDataStore__GetULongPtr(this, pval);
|
|
|
395 |
}
|
|
|
396 |
|
|
|
397 |
//=======================================================================
|
| 31 |
tristanc |
398 |
CDataStore& CDataStore::Get (INT64& pval) {
|
| 3 |
tristanc |
399 |
return CDataStore__GetInt64Ptr(this, pval);
|
|
|
400 |
}
|
|
|
401 |
|
|
|
402 |
//=======================================================================
|
| 31 |
tristanc |
403 |
CDataStore& CDataStore::Get (UINT64& pval) {
|
| 3 |
tristanc |
404 |
return CDataStore__GetUInt64Ptr(this, pval);
|
|
|
405 |
}
|
|
|
406 |
|
|
|
407 |
//=======================================================================
|
| 31 |
tristanc |
408 |
CDataStore& CDataStore::Get (float& pval) {
|
| 3 |
tristanc |
409 |
return CDataStore__GetFloatPtr(this, pval);
|
|
|
410 |
}
|
|
|
411 |
|
|
|
412 |
//=======================================================================
|
| 31 |
tristanc |
413 |
CDataStore& CDataStore::GetString (LPSTR pval, DWORD maxChars) {
|
| 3 |
tristanc |
414 |
return CDataStore__GetStringPtr(this,pval,maxChars);
|
|
|
415 |
}
|
|
|
416 |
|
|
|
417 |
//=======================================================================
|
| 31 |
tristanc |
418 |
CDataStore& CDataStore::GetString (LPWSTR pval, DWORD maxChars) {
|
| 3 |
tristanc |
419 |
return CDataStore__GetStringPtr2(this, pval, maxChars);
|
|
|
420 |
}
|
|
|
421 |
|
|
|
422 |
//=======================================================================
|
| 31 |
tristanc |
423 |
CDataStore& CDataStore::GetArray (UCHAR* pval, DWORD count) {
|
| 3 |
tristanc |
424 |
return CDataStore__GetArrayPtr(this, pval, count);
|
|
|
425 |
}
|
|
|
426 |
|
|
|
427 |
//=======================================================================
|
| 31 |
tristanc |
428 |
CDataStore& CDataStore::GetArray (USHORT* pval, DWORD count) {
|
| 3 |
tristanc |
429 |
return CDataStore__GetArrayPtr2(this, pval, count);
|
|
|
430 |
}
|
|
|
431 |
|
|
|
432 |
//=======================================================================
|
| 31 |
tristanc |
433 |
CDataStore& CDataStore::GetArray (ULONG* pval, DWORD count) {
|
| 3 |
tristanc |
434 |
return CDataStore__GetArrayPtr3(this, pval, count);
|
|
|
435 |
}
|
|
|
436 |
|
|
|
437 |
//=======================================================================
|
| 31 |
tristanc |
438 |
CDataStore& CDataStore::GetArray (UINT64* pval, DWORD count) {
|
| 3 |
tristanc |
439 |
return CDataStore__GetArrayPtr4(this, pval, count);
|
|
|
440 |
}
|
|
|
441 |
|
|
|
442 |
//=======================================================================
|
| 31 |
tristanc |
443 |
CDataStore& CDataStore::GetArray (float* pval, DWORD count) {
|
| 3 |
tristanc |
444 |
return CDataStore__GetArrayPtr5(this, pval, count);
|
|
|
445 |
}
|
|
|
446 |
|
|
|
447 |
//=======================================================================
|
| 31 |
tristanc |
448 |
void CDataStore::GetBufferParams (LPCVOID* dataPtr,
|
|
|
449 |
UINT* sizePtr,
|
|
|
450 |
UINT* allocPtr) const {
|
|
|
451 |
|
| 3 |
tristanc |
452 |
return CDataStore__GetBufferParamsPtr(this,dataPtr,sizePtr,allocPtr);
|
|
|
453 |
}
|
|
|
454 |
|
|
|
455 |
//=======================================================================
|
| 31 |
tristanc |
456 |
void CDataStore::DetachBuffer (PVOID* dataPtr, UINT* sizePtr, UINT* allocPtr) {
|
| 3 |
tristanc |
457 |
return CDataStore__DetachBufferPtr(this, dataPtr, sizePtr, allocPtr);
|
|
|
458 |
}
|
| 32 |
tristanc |
459 |
|