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