DBreturnSymbolSettings

Top  Previous  Next

Information about a symbol

To a trading for a symbol the information is determined like position and symbolic number. In addition are provided by the user the trading and a structure of the type SYMBOL_SETTINGS. Then in this structure the information is written. It is not relevant whether this structure is put on statically or dynamically.

Parametre

symbol (PSYMBOL_ELEMENT) [IN]

This is the trading of a symbol. The administrative information like position and id should be determined by this symbol.

settings (SYMBOL_SETTINGS *) [IN / OUT]

The user makes available a structure of the type SYMBOL_SETTINGS in which this procedure writes the data of the symbol. The storage space can be static or dynamic and is administered by the user.

grade (int) [IN]

Aloofly, must be 1.

If further information is introduced, these become grades distinguished.

Result

(T_ERROR) [OUT]

If the procedure could be explained perfectly, it delivers ERROR_OK, but one of the error messages from error.h.

Declaration

#include "database.h"

 

T_ERROR DLLENTRY DBreturnSymbolSettings (

PSYMBOL_ELEMENT symbol,

SYMBOL_SETTINGS * settings,

int grades

);