Sean> Int is used because the returned value is a bitwise OR of
Sean> the valid capabilities, and is not a value defined by the
Sean> enum. We can change the enum values to #define if that
Sean> would make it any easier.
An enum type is an integer type, so it can represent the bitwise OR of
any of the defined enum values with no problem.
- R.