OpenHome.Net.ControlPoint.CpDeviceList.Removed C# (CSharp) Method

Removed() private method

private Removed ( IntPtr aPtr, IntPtr aHandle ) : void
aPtr System.IntPtr
aHandle System.IntPtr
return void
        protected static void Removed(IntPtr aPtr, IntPtr aHandle)
        {
            CpDevice device = new CpDevice(aHandle);
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            CpDeviceList list = (CpDeviceList)gch.Target;
            if (list.iRemoved != null) {
                CallListChangedDelegate(list.iRemoved, list, device);
            }
        }