support [in] SAFEARRAY* and [out,retval] SAFEARRAY*

support [in] SAFEARRAY* and [out,retval] SAFEARRAY*