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