3.1.4.4.4 Argument Coercion

The automation server MAY<57> attempt to convert the arguments passed in pDispParams to the expected types of the formal parameters of the method or property that is called. If no possible coercion exists, the server MUST return DISP_E_TYPEMISMATCH.