Interface class as function argument (with ref)

In reply to avek:

What you did works, but is an extra step. When you pass a class handle by value, you are only coping the value of the handle, not the object. Once you have a handle to an object, you can modify any of its members from within the function.