41 references to Channel
PresentationCore (41)
System\Windows\InterOp\D3DImage.cs (1)
571if (_duceResource.IsOnChannel(mediaContext.Channel))
System\Windows\Media\Animation\Animatable.cs (1)
361if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Animation\AnimationClockResource.cs (1)
81DUCE.Channel channel = mediaContext.Channel;
System\Windows\Media\BitmapCacheBrush.cs (1)
99if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1277if (_duceResource.IsOnChannel(mediaContext.Channel))
System\Windows\Media\MediaContext.cs (33)
315if (Channel != null) 318while (Channel.PeekNextMessage(out message)) 994if (Channel != null) 998CommittingBatch?.Invoke(Channel, new EventArgs()); 1001Channel.SyncFlush(); 1225Channel); 1232_uceEtwEvent.CreateOrAddRefOnChannel(this, Channel, DUCE.ResourceType.TYPE_ETWEVENTRESOURCE); 1235RequestTier(Channel); 1237Channel.CloseBatch(); 1238Channel.Commit(); 1259if (Channel != null) 1261_uceEtwEvent.ReleaseOnChannel(Channel); 1283&& Channel.MarshalType == ChannelMarshalType.ChannelMarshalTypeCrossThread 1296Channel.SendCommand( 1348Channel.SendCommand( 1370Debug.Assert(Channel != null); 1383RegisterForNotifications(Channel); 1508if (Channel != null) 1554if (Channel != null) 1792if (Channel == null) 2054Channel); 2092if (Channel != null) 2094Channel.CloseBatch(); 2146if (Channel != null) 2173RequestPresentedNotification(Channel, TicksToCounts(presentationTime)); 2183CommittingBatch?.Invoke(Channel, new EventArgs()); 2185Channel.Commit(); 2243if (Channel != null) 2261CommittingBatch?.Invoke(Channel, new EventArgs()); 2264Channel.WaitForNextMessage(); 2286Channel.WaitForNextMessage(); 2302CommittingBatch?.Invoke(Channel, new EventArgs()); 2310Channel.SyncFlush();
System\Windows\Media\MediaContextNotificationWindow.cs (1)
139_ownerMediaContext.Channel.SetNotificationWindow(_hwndNotification.Handle, s_channelNotifyMessage);
System\Windows\Media\Visual.cs (1)
5226if (mctx.Channel != null)
System\Windows\Media\VisualBrush.cs (1)
100if (!resource.GetHandle(mediaContext.Channel).IsNull)