IltmmPlay::IsRateSupported Example for C

VARIANT_BOOL vrtRateSupported; 
IltmmPlay_IsRateSupported(m_player, 2.0, &vrtRateSupported); 
if (vrtRateSupported == VARIANT_TRUE) 
    IltmmPlay__put_Rate(m_player, 2.0);

L_MULTIMEDIATEX_API void IltmmPlay_IsRateSupported_Example (IltmmPlay* pPlay)
{
   VARIANT_BOOL vrtRateSupported; 

   IltmmPlay_IsRateSupported(pPlay, 2.0, &vrtRateSupported); 

   if (vrtRateSupported == VARIANT_TRUE) 
   {
      IltmmPlay_put_Rate(pPlay, 2.0);
   }
}