1 write to SizeOfInt
PresentationCore (1)
Shared\MS\Internal\Ink\Native.cs (1)
22
SizeOfInt
= (uint)Marshal.SizeOf(typeof(int));
19 references to SizeOfInt
PresentationCore (19)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GorillaCodec.cs (2)
390
bitCount = (int)(Native.
SizeOfInt
<< 3);
548
bitCount = (int)(Native.
SizeOfInt
<< 3);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
2120
uint cbStrokeId = (uint)(strokes.Count * Native.
SizeOfInt
+ 1 + SerializationHelper.VarSize((uint)strokes.Count)); // 1 is for the compression header
2139
cbWrote += Native.
SizeOfInt
;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\ISFTagAndGuidCache.cs (11)
58
Native.
SizeOfInt
, // X 0
59
Native.
SizeOfInt
, // Y 1
60
Native.
SizeOfInt
, // Z 2
61
Native.
SizeOfInt
, // PACKET_STATUS 3
70
Native.
SizeOfInt
, // ALTITUDE_ORIENTATION 12
71
Native.
SizeOfInt
, // TWIST_ORIENTATION 13
91
Native.
SizeOfInt
, // CURSORDOWN 33
92
Native.
SizeOfInt
, // SECONDARYTIPSWITCH 34
93
Native.
SizeOfInt
, // BARRELDOWN 35
94
Native.
SizeOfInt
, // TABLETPICK 36
95
Native.
SizeOfInt
, // ROP 37
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (4)
610
int pointCountOfFullIntegers = (int)(nBtnDim / Native.
SizeOfInt
);
613
int pointCountOfPartialBytes = (int)(nBtnDim % Native.
SizeOfInt
);
622
iBtnByte = (int)(iInt * Native.
SizeOfInt
);
637
iBtnByte = (int)(pointCountOfFullIntegers * Native.
SizeOfInt
);