26 references to _duceResource
PresentationCore (26)
System\Windows\Media\Imaging\BitmapSource.cs (10)
917if (_duceResource.CreateOrAddRefOnChannel(this, channel, DUCE.ResourceType.TYPE_BITMAPSOURCE)) 922return _duceResource.GetHandle(channel); 936return _duceResource.GetChannelCount(); 946return _duceResource.GetChannel(index); 963Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 965if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 971_duceResource.GetHandle(channel), 995Debug.Assert(_duceResource.IsOnChannel(channel)); 997_duceResource.ReleaseOnChannel(channel); 1011return _duceResource.GetHandle(channel);
System\Windows\Media\Imaging\InteropBitmapSource.cs (3)
290for (int i = 0, numChannels = _duceResource.GetChannelCount(); i < numChannels; ++i) 292DUCE.Channel channel = _duceResource.GetChannel(i); 296data.Handle = _duceResource.GetHandle(channel);
System\Windows\Media\Imaging\WriteableBitmap.cs (13)
618int channelCount = _duceResource.GetChannelCount(); 622DUCE.Channel channel = _duceResource.GetChannel(i); 628uint refCount = _duceResource.GetRefCountOnChannel(channel); 1157if (_duceResource.CreateOrAddRefOnChannel(this, channel, DUCE.ResourceType.TYPE_DOUBLEBUFFEREDBITMAP)) 1176return _duceResource.GetHandle(channel); 1181Debug.Assert(_duceResource.IsOnChannel(channel)); 1183if (_duceResource.ReleaseOnChannel(channel)) 1224Debug.Assert(!skipOnChannelCheck || _duceResource.IsOnChannel(channel)); 1226if (skipOnChannelCheck || _duceResource.IsOnChannel(channel)) 1230command.Handle = _duceResource.GetHandle(channel); 1260if (_duceResource.IsOnChannel(mediaContext.Channel)) 1302Debug.Assert(_duceResource.IsOnChannel(channel)); // How else are we here? 1327command.Handle = _duceResource.GetHandle(channel);