DBmodifySymbolSettings |
Top Previous Next |
Information about a symbol changes. To a trading for a symbol the information is changed 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. Only the information which was given by the Flags in modifyFlags is changed. Parametre symbol (PSYMBOL_ELEMENT) [IN] Act on the symbolic element to be changed. modifyFlags (int) [IN] The Flags brag which information from the structure should be taken over. Though all the other information can have valid values, but without suitable constant in modifyFlags they remain disregarded. settings (SYMBOL_SETTINGS *) [IN / OUT] The user makes available a structure of the type SYMBOL_SETTINGS. In the structure the valid values must own only the information which should be also changed. The validity of the values is guaranteed merely by the Flags in modifyFlags. 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 function was finished successfully, becomes ERROR_OK zurückgeliefert, but a constant from error.h. Declaration #include "database.h"
T_ERROR DLLENTRY DBmodifySymbolSettings ( PSYMBOL_ELEMENT symbol, int modifyFlags, SYMBOL_SETTINGS * settings, int grades ); Constants SYMBOL_MODIFY_KOORDINATE 1 SYMBOL_MODIFY_WINKEL 2 SYMBOL_MODIFY_SYMBOL 4 SYMBOL_MODIFY_FLAGS 8 SYMBOL_MODIFY_ALL 15 Related functions
|