40 references to Channel
PresentationCore (40)
System\Windows\InterOp\D3DImage.cs (1)
558if (_duceResource.IsOnChannel(mediaContext.Channel))
System\Windows\Media\Animation\Animatable.cs (1)
336if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Animation\AnimationClockResource.cs (1)
75DUCE.Channel channel = mediaContext.Channel;
System\Windows\Media\BitmapCacheBrush.cs (1)
90if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1241if (_duceResource.IsOnChannel(mediaContext.Channel))
System\Windows\Media\MediaContext.cs (32)
293if (Channel != null) 296while (Channel.PeekNextMessage(out message)) 969if (Channel != null) 973CommittingBatch?.Invoke(Channel, new EventArgs()); 976Channel.SyncFlush(); 1200Channel); 1207_uceEtwEvent.CreateOrAddRefOnChannel(this, Channel, DUCE.ResourceType.TYPE_ETWEVENTRESOURCE); 1210RequestTier(Channel); 1212Channel.CloseBatch(); 1213Channel.Commit(); 1234if (Channel != null) 1236_uceEtwEvent.ReleaseOnChannel(Channel); 1258&& Channel.MarshalType == ChannelMarshalType.ChannelMarshalTypeCrossThread 1271Channel.SendCommand( 1323Channel.SendCommand( 1345Debug.Assert(Channel != null); 1358RegisterForNotifications(Channel); 1483if (Channel != null) 1529if (Channel != null) 1767if (Channel == null) 2029Channel); 2067Channel?.CloseBatch(); 2118if (Channel != null) 2145RequestPresentedNotification(Channel, TicksToCounts(presentationTime)); 2155CommittingBatch?.Invoke(Channel, new EventArgs()); 2157Channel.Commit(); 2215if (Channel != null) 2233CommittingBatch?.Invoke(Channel, new EventArgs()); 2236Channel.WaitForNextMessage(); 2258Channel.WaitForNextMessage(); 2274CommittingBatch?.Invoke(Channel, new EventArgs()); 2282Channel.SyncFlush();
System\Windows\Media\MediaContextNotificationWindow.cs (1)
121_ownerMediaContext.Channel.SetNotificationWindow(_hwndNotification.Handle, s_channelNotifyMessage);
System\Windows\Media\Visual.cs (1)
5201if (mctx.Channel != null)
System\Windows\Media\VisualBrush.cs (1)
90if (!resource.GetHandle(mediaContext.Channel).IsNull)