pass type to dll

 
Is there a way to pass a type to a DLL? I know the type format and so on, and how to call dll's normally successfully, but is there a way to some how pass a type to a dll? Maybe create an array and pass the array instead of a type?
Reason: