Subversion Repositories WoWGM

Rev

Rev 16 | Rev 32 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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