The following values are shorts that are used and/or returned by this function, as indicated by its Syntax. These values correspond to the listed type of enchantment:
0 Scroll 1 Staff 2 Weapon 3 Apparel