ActiveX object method has this signature.
long DirectIO(long Command, long* pData, BSTR* pString)
Int32 DirectIO(Int32, Int32 ByRef, System.String ByRef)
I'm attempting to call this method from javascript. I've tried many combinations but always get a "Type mismatch" error.