Returns the major version of the workspace state saved in the Windows registry.
Use this function to retrieve the major version of the workspace state saved in the Windows registry. It is usually called by serialization code.