private void GetTransportSettingsSink(CpAVTransport sender, System.UInt32 InstanceID, CpAVTransport.Enum_CurrentPlayMode PlayMode, CpAVTransport.Enum_CurrentRecordQualityMode RecQualityMode, UPnPInvokeException e, object _Tag)
 {
     if (e == null)
     {
         _CurrentPlayMode = _cp.Enum_CurrentPlayMode_ToString(PlayMode);
         if (this.OnCurrentPlayModeChanged != null)
         {
             OnCurrentPlayModeChanged(this);
         }
     }
     lock (this)
     {
         --StateCounter;
         if (StateCounter == 0)
         {
             if (OnReady != null)
             {
                 OnReady(this);
             }
         }
     }
 }