DBmodifyPlanSettings |
Top Previous Next |
Change of the plan settings. It can be changed all values, as well as single ones. Constants are defined, they give which values are to be changed. On the constants it is decided whether the values are valid in settings. Contains settings a value which was not announced by a constant, he is not taken over in the plan settings. Should all values from settings be taken over in the plan, the constant PLAN_MODIFY_ALL can be given, instead of all the others to odern. Parametre flat (PPLANS) [IN] Act on the plan flags (int) [IN] Constants give the values to be changed. settings (PLAN_SETTINGS *) [IN / OUT] Structure on the plan settings. Only the values which should be also changed must be put. grade (int) [IN] grade is booked with 1 and is open for later enlargements. Result --- Declaration #include "database.h"
void DLLENTRY DBmodifyPlanSettings ( PPLANS flat, int flags, PLAN_SETTINGS * settings, int grades ); Constants PLAN_MODIFY_LOADER 1 PLAN_MODIFY_LIMITS 2 PLAN_MODIFY_RESOLUTION 4 PLAN_MODIFY_SCALE 8 PLAN_MODIFY_FLAGS 16 PLAN_MODIFY_VERSION 32 PLAN_MODIFY_NAME 64 PLAN_MODIFY_PFAD 128 PLAN_MODIFY_ALL 255 Related functions
|