forked from Thomas-Mielke-Software/ECTImport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuchungctrl.h
245 lines (229 loc) · 4.9 KB
/
buchungctrl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
#pragma once
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CBuchungctrl wrapper class
class CBuchungctrl : public CWnd
{
protected:
DECLARE_DYNCREATE(CBuchungctrl)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x3BC20630, 0x93BA, 0x47B2, { 0x82, 0xD1, 0x82, 0xC, 0x7F, 0x19, 0x86, 0xA1 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{
return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID);
}
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd,
UINT nID, CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{
return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey);
}
// Attributes
public:
// Operations
public:
// _DBuchung
// Functions
//
CY HoleNetto()
{
CY result;
InvokeHelper(0xd, DISPATCH_METHOD, VT_CY, (void*)&result, NULL);
return result;
}
CY HoleBuchungsjahrNetto(long dokID)
{
CY result;
static BYTE parms[] = VTS_I4 ;
InvokeHelper(0xe, DISPATCH_METHOD, VT_CY, (void*)&result, parms, dokID);
return result;
}
CString HoleBenutzerdefWert(LPCTSTR PluginName, LPCTSTR SchluesselName)
{
CString result;
static BYTE parms[] = VTS_BSTR VTS_BSTR ;
InvokeHelper(0xf, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, PluginName, SchluesselName);
return result;
}
void SpeichereBenutzerdefWert(LPCTSTR PluginName, LPCTSTR SchluesselName, LPCTSTR Wert)
{
static BYTE parms[] = VTS_BSTR VTS_BSTR VTS_BSTR ;
InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms, PluginName, SchluesselName, Wert);
}
void AboutBox()
{
InvokeHelper(DISPID_ABOUTBOX, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
// Properties
//
long Get_ID()
{
long result;
GetProperty(0x0, VT_I4, (void*)&result);
return result;
}
void Set_ID(long propVal)
{
SetProperty(0x0, VT_I4, propVal);
}
long GetID()
{
long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void SetID(long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
CY GetBetrag()
{
CY result;
GetProperty(0x2, VT_CY, (void*)&result);
return result;
}
void SetBetrag(const CY& propVal)
{
SetProperty(0x2, VT_CY, &propVal);
}
double GetMWSt()
{
double result;
GetProperty(0x3, VT_R8, (void*)&result);
return result;
}
void SetMWSt(double propVal)
{
SetProperty(0x3, VT_R8, propVal);
}
short GetAbschreibungNr()
{
short result;
GetProperty(0x4, VT_I2, (void*)&result);
return result;
}
void SetAbschreibungNr(short propVal)
{
SetProperty(0x4, VT_I2, propVal);
}
short GetAbschreibungJahre()
{
short result;
GetProperty(0x5, VT_I2, (void*)&result);
return result;
}
void SetAbschreibungJahre(short propVal)
{
SetProperty(0x5, VT_I2, propVal);
}
CString GetBeschreibung()
{
CString result;
GetProperty(0x6, VT_BSTR, (void*)&result);
return result;
}
void SetBeschreibung(CString propVal)
{
SetProperty(0x6, VT_BSTR, propVal);
}
DATE GetDatum()
{
DATE result;
GetProperty(0x7, VT_DATE, (void*)&result);
return result;
}
void SetDatum(DATE propVal)
{
SetProperty(0x7, VT_DATE, propVal);
}
CString GetKonto()
{
CString result;
GetProperty(0x8, VT_BSTR, (void*)&result);
return result;
}
void SetKonto(CString propVal)
{
SetProperty(0x8, VT_BSTR, propVal);
}
CString GetBelegnummer()
{
CString result;
GetProperty(0x9, VT_BSTR, (void*)&result);
return result;
}
void SetBelegnummer(CString propVal)
{
SetProperty(0x9, VT_BSTR, propVal);
}
CY GetAbschreibungRestwert()
{
CY result;
GetProperty(0xa, VT_CY, (void*)&result);
return result;
}
void SetAbschreibungRestwert(const CY& propVal)
{
SetProperty(0xa, VT_CY, &propVal);
}
BOOL GetAbschreibungDegressiv()
{
BOOL result;
GetProperty(0xb, VT_BOOL, (void*)&result);
return result;
}
void SetAbschreibungDegressiv(BOOL propVal)
{
SetProperty(0xb, VT_BOOL, propVal);
}
double GetAbschreibungSatz()
{
double result;
GetProperty(0xc, VT_R8, (void*)&result);
return result;
}
void SetAbschreibungSatz(double propVal)
{
SetProperty(0xc, VT_R8, propVal);
}
long GetAbschreibungGenauigkeit()
{
long result;
GetProperty(0x11, VT_I4, (void*)&result);
return result;
}
void SetAbschreibungGenauigkeit(long propVal)
{
SetProperty(0x11, VT_I4, propVal);
}
CString GetBetrieb()
{
CString result;
GetProperty(0x12, VT_BSTR, (void*)&result);
return result;
}
void SetBetrieb(CString propVal)
{
SetProperty(0x12, VT_BSTR, propVal);
}
CString GetBestandskonto()
{
CString result;
GetProperty(0x13, VT_BSTR, (void*)&result);
return result;
}
void SetBestandskonto(CString propVal)
{
SetProperty(0x13, VT_BSTR, propVal);
}
};