- return SetParameter( inName, type , sizeof( T ) , data ) ;
+ return SetParameter( inName, inDesiredType , sizeof( T ) , data ) ;
+ }
+ template <typename T> OSStatus SetParameter( EventParamName inName, EventParamType inDesiredType , T data )
+ {
+ return SetParameter<T>( inName, inDesiredType , &data ) ;