Hello good afternoon!
There are several functions that return numeric enumerators, however the enumerator documentation there is a description of each enumerator and not the value, for example LONG OrderGetInteger(ENUM_ORDER_STATE) the list documentation:
ORDER_STATE_STARTED Order verified but not yet accepted by broker (broker)ORDER_STATE_PLACED accepted order....
Plus the return value is long, how do I know which number refers to the return ORDER_STATE_STARTED for example, and what it means?
Where's the list which relates the description of the enumerator to its numerical value return?
Did you try comparing the return value with the identifier (something like OrderGetInteger(ENUM_ORDER_STATE)==ORDER_STATE_STARTED for example)?
You don't need to know the exact value of such enumerated constants, just use its "name"
Please enable the necessary setting in your browser, otherwise you will not be able to log in.