4.3 Invoke Argument Parameter Mapping

This example shows how automation method arguments map to IDispatch::Invoke arguments.

Consider a method that conceptually takes the following arguments.

 test(vPos0, vPosByRef1, vPos2, vNamed3, vNamedByRef4);

The call to the server must be structured as in the following figure.

Call to server

Figure 5: Call to server