Rev 2 | Rev 7 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 5 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | 6 | ||
7 | <body> |
7 | <body> |
8 | 8 | ||
9 | <h1>ViaThinkSoft Currency Converter - DLL specification</h1> |
9 | <h1>ViaThinkSoft Currency Converter - DLL specification</h1> |
10 | 10 | ||
- | 11 | <p><i>Last change: 26.08.2017</i></p> |
|
- | 12 | ||
11 | <h2>Table of Contents</h2> |
13 | <h2>Table of Contents</h2> |
12 | 14 | ||
13 | <p>These functions are exported by <b>CurConv.dll</b>:</p> |
15 | <p>These functions are exported by <b>CurConv.dll</b>:</p> |
14 | 16 | ||
15 | <ul> |
17 | <ul> |
Line 123... | Line 125... | ||
123 | function ConvertW(Value: Double; CurFrom, CurTo: LPCWSTR; MaxAge: integer; Flags: TVtsCurConvFlags; HistoricDate: TDate): Double; stdcall; |
125 | function ConvertW(Value: Double; CurFrom, CurTo: LPCWSTR; MaxAge: integer; Flags: TVtsCurConvFlags; HistoricDate: TDate): Double; stdcall; |
124 | function ConvertA(Value: Double; CurFrom, CurTo: LPCSTR; MaxAge: integer; Flags: TVtsCurConvFlags; HistoricDate: TDate): Double; stdcall; |
126 | function ConvertA(Value: Double; CurFrom, CurTo: LPCSTR; MaxAge: integer; Flags: TVtsCurConvFlags; HistoricDate: TDate): Double; stdcall; |
125 | </pre> |
127 | </pre> |
126 | <h4>C</h5> |
128 | <h4>C</h5> |
127 | <pre> |
129 | <pre> |
128 | Double __stdcall ConvertW(Double Value, LPCWSTR CurFrom, LPCWSTR CurTo, int MaxAge, DWORD Flags, DATE HistoricDate); |
130 | float __stdcall ConvertW(float Value, LPCWSTR CurFrom, LPCWSTR CurTo, int MaxAge, CURCONV_FLAGS Flags, DATE HistoricDate); |
129 | Double __stdcall ConvertA(Double Value, LPCSTR CurFrom, LPCSTR CurTo, int MaxAge; DWORD Flags, DATE HistoricDate); |
131 | float __stdcall ConvertA(float Value, LPCSTR CurFrom, LPCSTR CurTo, int MaxAge, CURCONV_FLAGS Flags, DATE HistoricDate); |
130 | </pre> |
132 | </pre> |
131 | 133 | ||
132 | <h3>Description</h4> |
134 | <h3>Description</h4> |
133 | <p>Converts into a differnt currency.</p> |
135 | <p>Converts into a differnt currency.</p> |
134 | 136 | ||
Line 170... | Line 172... | ||
170 | function AcceptedCurrenciesW(WriteTo: LPWSTR; MaxAge: integer; Flags: TVtsCurConvFlags; HistoricDate: TDate): Integer; stdcall; |
172 | function AcceptedCurrenciesW(WriteTo: LPWSTR; MaxAge: integer; Flags: TVtsCurConvFlags; HistoricDate: TDate): Integer; stdcall; |
171 | function AcceptedCurrenciesA(WriteTo: LPSTR; MaxAge: integer; Flags: TVtsCurConvFlags; HistoricDate: TDate): Integer; stdcall; |
173 | function AcceptedCurrenciesA(WriteTo: LPSTR; MaxAge: integer; Flags: TVtsCurConvFlags; HistoricDate: TDate): Integer; stdcall; |
172 | </pre> |
174 | </pre> |
173 | <h4>C</h5> |
175 | <h4>C</h5> |
174 | <pre> |
176 | <pre> |
175 | int __stdcall AcceptedCurrencies(LPTSTR WriteTo, int MaxAge, DWORD Flags, DATE HistoricDate); |
- | |
176 | int __stdcall AcceptedCurrenciesW(LPWSTR WriteTo, int MaxAge, DWORD Flags, DATE HistoricDate); |
177 | int __stdcall AcceptedCurrenciesW(LPWSTR WriteTo, int MaxAge, CURCONV_FLAGS Flags, DATE HistoricDate); |
177 | int __stdcall AcceptedCurrenciesA(LPSTR WriteTo, int MaxAge, DWORD Flags, DATE HistoricDate); |
178 | int __stdcall AcceptedCurrenciesA(LPSTR WriteTo, int MaxAge, CURCONV_FLAGS Flags, DATE HistoricDate); |
178 | </pre> |
179 | </pre> |
179 | 180 | ||
180 | <h3>Description</h4> |
181 | <h3>Description</h4> |
181 | <p>Shows a list of available currencies.</p> |
182 | <p>Shows a list of available currencies.</p> |
182 | 183 | ||
Line 214... | Line 215... | ||
214 | <pre> |
215 | <pre> |
215 | function DownloadNow(Flags: TVtsCurConvFlags; HistoricDate: TDate): HRESULT; stdcall; |
216 | function DownloadNow(Flags: TVtsCurConvFlags; HistoricDate: TDate): HRESULT; stdcall; |
216 | </pre> |
217 | </pre> |
217 | <h4>C</h5> |
218 | <h4>C</h5> |
218 | <pre> |
219 | <pre> |
219 | HRESULT __stdcall DownloadNow(DWORD Flags, DATE HistoricDate); |
220 | HRESULT __stdcall DownloadNow(CURCONV_FLAGS Flags, DATE HistoricDate); |
220 | </pre> |
221 | </pre> |
221 | 222 | ||
222 | <h3>Description</h4> |
223 | <h3>Description</h4> |
223 | <p>Forces the framework to download the currency table.</p> |
224 | <p>Forces the framework to download the currency table.</p> |
224 | 225 |