BWISetValue – Set numeric parameter

BWISetValue (h, item, value)

Use this to set the value of input numeric parameters before calling functions such as BWICache, BWICheck, BWISearch and BWIGetValue.

Input parameters

h Handle, created using BWICreateHandle.
item Long integer. This is the parameter item to set and can be:
BWI_V_PAR# where # is 1 to 5. Use this to set country numeric parameters.
BWI_V_COUNTRY_CHECK Use this to set the country for this handle. Use this before calling BWICache, BWICheck, BWISearch or BWIGetValue. Use BWI_C_Country to specify the country, where Country is the country name, for example UK, France, Germany and so on.
BWI_V_COUNTRY_MESS Use this to override the message language of the handle with the country specified in the value parameter. Any message that is not available in the chosen language will be returned in English.
BWI_V_INFLAG + n where n is the number of the country input flag. For each handle you can set flags that determine core behaviour. Set value to any non zero value to set the flag to true. Set value to 0 to set the flag to false.
BWI_V_MAX_SEARCH Use this to reduce the maximum number of matches returned when BWISearch is called. The default and maximum is 100.
value The value to which you want to set the parameter.