41 references to Channel
PresentationCore (41)
System\Windows\InterOp\D3DImage.cs (1)
559if (_duceResource.IsOnChannel(mediaContext.Channel))
System\Windows\Media\Animation\Animatable.cs (1)
354if (!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)
1260if (_duceResource.IsOnChannel(mediaContext.Channel))
System\Windows\Media\MediaContext.cs (33)
294if (Channel != null) 297while (Channel.PeekNextMessage(out message)) 973if (Channel != null) 977CommittingBatch?.Invoke(Channel, new EventArgs()); 980Channel.SyncFlush(); 1204Channel); 1211_uceEtwEvent.CreateOrAddRefOnChannel(this, Channel, DUCE.ResourceType.TYPE_ETWEVENTRESOURCE); 1214RequestTier(Channel); 1216Channel.CloseBatch(); 1217Channel.Commit(); 1238if (Channel != null) 1240_uceEtwEvent.ReleaseOnChannel(Channel); 1262&& Channel.MarshalType == ChannelMarshalType.ChannelMarshalTypeCrossThread 1275Channel.SendCommand( 1327Channel.SendCommand( 1349Debug.Assert(Channel != null); 1362RegisterForNotifications(Channel); 1487if (Channel != null) 1533if (Channel != null) 1771if (Channel == null) 2033Channel); 2071if (Channel != null) 2073Channel.CloseBatch(); 2125if (Channel != null) 2152RequestPresentedNotification(Channel, TicksToCounts(presentationTime)); 2162CommittingBatch?.Invoke(Channel, new EventArgs()); 2164Channel.Commit(); 2222if (Channel != null) 2240CommittingBatch?.Invoke(Channel, new EventArgs()); 2243Channel.WaitForNextMessage(); 2265Channel.WaitForNextMessage(); 2281CommittingBatch?.Invoke(Channel, new EventArgs()); 2289Channel.SyncFlush();
System\Windows\Media\MediaContextNotificationWindow.cs (1)
122_ownerMediaContext.Channel.SetNotificationWindow(_hwndNotification.Handle, s_channelNotifyMessage);
System\Windows\Media\Visual.cs (1)
5210if (mctx.Channel != null)
System\Windows\Media\VisualBrush.cs (1)
91if (!resource.GetHandle(mediaContext.Channel).IsNull)