If it were me who had to do this, I would be creating the type (JobType) inside C# (I think it's a struct/enum/union), then create a variable of that type, initialize it and box it (assign it to a variable of type object), finally pass it in the ref object parameter and hope default interop does the magic.
I Hope it helps ~Theraot
