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)
1274if (_duceResource.IsOnChannel(mediaContext.Channel))
System\Windows\Media\MediaContext.cs (33)
316if (Channel != null) 319while (Channel.PeekNextMessage(out message)) 995if (Channel != null) 999CommittingBatch?.Invoke(Channel, new EventArgs()); 1002Channel.SyncFlush(); 1226Channel); 1233_uceEtwEvent.CreateOrAddRefOnChannel(this, Channel, DUCE.ResourceType.TYPE_ETWEVENTRESOURCE); 1236RequestTier(Channel); 1238Channel.CloseBatch(); 1239Channel.Commit(); 1260if (Channel != null) 1262_uceEtwEvent.ReleaseOnChannel(Channel); 1284&& Channel.MarshalType == ChannelMarshalType.ChannelMarshalTypeCrossThread 1297Channel.SendCommand( 1349Channel.SendCommand( 1371Debug.Assert(Channel != null); 1384RegisterForNotifications(Channel); 1509if (Channel != null) 1555if (Channel != null) 1795if (Channel == null) 2057Channel); 2095if (Channel != null) 2097Channel.CloseBatch(); 2149if (Channel != null) 2176RequestPresentedNotification(Channel, TicksToCounts(presentationTime)); 2186CommittingBatch?.Invoke(Channel, new EventArgs()); 2188Channel.Commit(); 2246if (Channel != null) 2264CommittingBatch?.Invoke(Channel, new EventArgs()); 2267Channel.WaitForNextMessage(); 2289Channel.WaitForNextMessage(); 2305CommittingBatch?.Invoke(Channel, new EventArgs()); 2313Channel.SyncFlush();
System\Windows\Media\MediaContextNotificationWindow.cs (1)
139_ownerMediaContext.Channel.SetNotificationWindow(_hwndNotification.Value.Handle, s_channelNotifyMessage);
System\Windows\Media\Visual.cs (1)
5232if (mctx.Channel != null)
System\Windows\Media\VisualBrush.cs (1)
100if (!resource.GetHandle(mediaContext.Channel).IsNull)