26 references to _duceResource
PresentationCore (26)
System\Windows\Media\Imaging\BitmapSource.cs (10)
932if (_duceResource.CreateOrAddRefOnChannel(this, channel, DUCE.ResourceType.TYPE_BITMAPSOURCE)) 937return _duceResource.GetHandle(channel); 951return _duceResource.GetChannelCount(); 961return _duceResource.GetChannel(index); 978Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 980if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 986_duceResource.GetHandle(channel), 1010Debug.Assert(_duceResource.IsOnChannel(channel)); 1012_duceResource.ReleaseOnChannel(channel); 1026return _duceResource.GetHandle(channel);
System\Windows\Media\Imaging\InteropBitmapSource.cs (3)
304for (int i = 0, numChannels = _duceResource.GetChannelCount(); i < numChannels; ++i) 306DUCE.Channel channel = _duceResource.GetChannel(i); 310data.Handle = _duceResource.GetHandle(channel);
System\Windows\Media\Imaging\WriteableBitmap.cs (13)
635int channelCount = _duceResource.GetChannelCount(); 639DUCE.Channel channel = _duceResource.GetChannel(i); 645uint refCount = _duceResource.GetRefCountOnChannel(channel); 1174if (_duceResource.CreateOrAddRefOnChannel(this, channel, DUCE.ResourceType.TYPE_DOUBLEBUFFEREDBITMAP)) 1193return _duceResource.GetHandle(channel); 1198Debug.Assert(_duceResource.IsOnChannel(channel)); 1200if (_duceResource.ReleaseOnChannel(channel)) 1241Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 1243if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 1247command.Handle = _duceResource.GetHandle(channel); 1277if (_duceResource.IsOnChannel(mediaContext.Channel)) 1319Debug.Assert(_duceResource.IsOnChannel(channel)); // How else are we here? 1344command.Handle = _duceResource.GetHandle(channel);