The first argument is an int, with 0 indicating generate an index and 1 indicating Wylie. SaveOptions writes the current keyboard settings to a file so that the next time the Wylie keyboard is started the options are also restored. The function takes no arguments and returns a Boolean. InstallWriteMode sets the keyboard driver to accommodate different Windows applications. This is a sample of one of the keyboard maps included with Tibetan For Windows.
Similar maps exist for the phonetic and Tibetan typewriter modes.