Registers new option so it can be used by SetOption and GetOption functions.
function RegisterOption(OptionId: LongInt; Variable: PLongInt): Boolean;
Imaging (at line 494)
Returns True if registration was succesful - that is Id is valid and is not already taken by another option.