Navigation: Ole automation > Automation object properties >
Returns the type (as an integer number) of the error message with the given index. Messages are counted 1,2,3, ...