40 references to Channel
PresentationCore (40)
System\Windows\InterOp\D3DImage.cs (1)
559if (_duceResource.IsOnChannel(mediaContext.Channel))
System\Windows\Media\Animation\Animatable.cs (1)
337if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Animation\AnimationClockResource.cs (1)
76DUCE.Channel channel = mediaContext.Channel;
System\Windows\Media\BitmapCacheBrush.cs (1)
91if (!resource.GetHandle(mediaContext.Channel).IsNull)
System\Windows\Media\Imaging\WriteableBitmap.cs (1)
1249if (_duceResource.IsOnChannel(mediaContext.Channel))
System\Windows\Media\MediaContext.cs (32)
294if (Channel != null) 297while (Channel.PeekNextMessage(out message)) 970if (Channel != null) 974CommittingBatch?.Invoke(Channel, new EventArgs()); 977Channel.SyncFlush(); 1201Channel); 1208_uceEtwEvent.CreateOrAddRefOnChannel(this, Channel, DUCE.ResourceType.TYPE_ETWEVENTRESOURCE); 1211RequestTier(Channel); 1213Channel.CloseBatch(); 1214Channel.Commit(); 1235if (Channel != null) 1237_uceEtwEvent.ReleaseOnChannel(Channel); 1259&& Channel.MarshalType == ChannelMarshalType.ChannelMarshalTypeCrossThread 1272Channel.SendCommand( 1324Channel.SendCommand( 1346Debug.Assert(Channel != null); 1359RegisterForNotifications(Channel); 1484if (Channel != null) 1530if (Channel != null) 1768if (Channel == null) 2030Channel); 2068Channel?.CloseBatch(); 2119if (Channel != null) 2146RequestPresentedNotification(Channel, TicksToCounts(presentationTime)); 2156CommittingBatch?.Invoke(Channel, new EventArgs()); 2158Channel.Commit(); 2216if (Channel != null) 2234CommittingBatch?.Invoke(Channel, new EventArgs()); 2237Channel.WaitForNextMessage(); 2259Channel.WaitForNextMessage(); 2275CommittingBatch?.Invoke(Channel, new EventArgs()); 2283Channel.SyncFlush();
System\Windows\Media\MediaContextNotificationWindow.cs (1)
122_ownerMediaContext.Channel.SetNotificationWindow(_hwndNotification.Handle, s_channelNotifyMessage);
System\Windows\Media\Visual.cs (1)
5204if (mctx.Channel != null)
System\Windows\Media\VisualBrush.cs (1)
91if (!resource.GetHandle(mediaContext.Channel).IsNull)