If you are using a language such as Visual C++ to create an Add-in, and if you you the #import keyword to import the Extensibility type library, then the ext_cm_UISetup enumerated value will not be available to you and you will need to use the value 5 in its place.