functions for FX currency pair related analytics.
More...
|
int __stdcall | SFDB_GETVALIDCCYPAIR (LPCTSTR CCY1, LPCTSTR CCY2, LPTSTR retVal, size_t *nLen) |
| return a currency pair ordered in FX mkt convention
|
|
◆ SFDB_GETVALIDCCYPAIR()
int __stdcall SFDB_GETVALIDCCYPAIR |
( |
LPCTSTR | CCY1, |
|
|
LPCTSTR | CCY2, |
|
|
LPTSTR | retVal, |
|
|
size_t * | nLen ) |
- Parameters
-
[in] | CCY1 | (Required) the ISO code of the first currency (e.g., USD, JPY) |
[in] | CCY2 | (Required) the ISO code of the second currency (e.g., USD, JPY) |
[out] | retVal | (Required) the buffer that will receive the formatted currency pair. |
[in,out] | nLen | (Required) The maximum number of characters to copy to the buffer. |
- Returns
- status code of the function call: zero = success, positive = success with a warning, and negative = error occurred.
- Return values
-
- See also
- SFDB_ISVALIDCCYCODE()
- Example
-
- Requirements
| |
Target Platform | Windows |
Header | SFDBM.h (include Windows.h) |
Library | SFDBM.lib |
DLL | SFDBM.dll |
- Since
- v1.68