569 references to Ok
System.Drawing (569)
commonui\System\Drawing\Advanced\AdjustableArrowCap.cs (9)
57
if (status != SafeNativeMethods.Gdip.
Ok
)
67
if (status != SafeNativeMethods.Gdip.
Ok
)
76
if (status != SafeNativeMethods.Gdip.
Ok
)
96
if (status != SafeNativeMethods.Gdip.
Ok
)
105
if (status != SafeNativeMethods.Gdip.
Ok
)
125
if (status != SafeNativeMethods.Gdip.
Ok
)
134
if (status != SafeNativeMethods.Gdip.
Ok
)
156
if (status != SafeNativeMethods.Gdip.
Ok
)
165
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\CustomLineCap.cs (13)
91
if (status != SafeNativeMethods.Gdip.
Ok
)
157
if (status != SafeNativeMethods.Gdip.
Ok
)
169
if (status != SafeNativeMethods.Gdip.
Ok
)
196
if (status != SafeNativeMethods.Gdip.
Ok
)
208
if (status != SafeNativeMethods.Gdip.
Ok
)
216
if (status != SafeNativeMethods.Gdip.
Ok
)
226
if (status != SafeNativeMethods.Gdip.
Ok
)
246
if (status != SafeNativeMethods.Gdip.
Ok
)
255
if (status != SafeNativeMethods.Gdip.
Ok
)
275
if (status != SafeNativeMethods.Gdip.
Ok
)
284
if (status != SafeNativeMethods.Gdip.
Ok
)
305
if (status != SafeNativeMethods.Gdip.
Ok
)
314
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\Font.cs (12)
76
else if (status != SafeNativeMethods.Gdip.
Ok
)
317
if (status != SafeNativeMethods.Gdip.
Ok
)
322
if (status != SafeNativeMethods.Gdip.
Ok
)
327
if (status != SafeNativeMethods.Gdip.
Ok
)
332
if (status != SafeNativeMethods.Gdip.
Ok
)
392
if (status != SafeNativeMethods.Gdip.
Ok
)
461
else if (status != SafeNativeMethods.Gdip.
Ok
)
496
else if (status != SafeNativeMethods.Gdip.
Ok
)
515
if (status != SafeNativeMethods.Gdip.
Ok
)
874
if (status != SafeNativeMethods.Gdip.
Ok
)
919
if (status != SafeNativeMethods.Gdip.
Ok
)
956
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\FontCollection.cs (2)
61
if (status != SafeNativeMethods.Gdip.
Ok
)
71
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\FontFamily.cs (11)
128
if (status != SafeNativeMethods.Gdip.
Ok
)
185
if (status != SafeNativeMethods.Gdip.
Ok
)
327
if (status != SafeNativeMethods.Gdip.
Ok
)
369
if (status != SafeNativeMethods.Gdip.
Ok
)
394
if (status != SafeNativeMethods.Gdip.
Ok
)
419
if (status != SafeNativeMethods.Gdip.
Ok
)
455
if (status != SafeNativeMethods.Gdip.
Ok
)
471
if (status != SafeNativeMethods.Gdip.
Ok
)
489
if (status != SafeNativeMethods.Gdip.
Ok
)
506
if (status != SafeNativeMethods.Gdip.
Ok
)
522
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\Gdiplus.cs (17)
149
if (status != SafeNativeMethods.Gdip.
Ok
) {
311
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
590
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
678
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
786
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
902
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
1320
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
1501
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
1643
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
1910
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
2012
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
2025
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
2881
return SafeNativeMethods.Gdip.
Ok
;
2929
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
2998
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
3065
if (!Initialized) return SafeNativeMethods.Gdip.
Ok
;
3165
Debug.Assert(status !=
Ok
, "Throwing an exception for an 'Ok' return code");
commonui\System\Drawing\Advanced\GraphicsPath.cs (62)
63
if (status != SafeNativeMethods.Gdip.
Ok
)
112
if (status != SafeNativeMethods.Gdip.
Ok
)
163
if (status != SafeNativeMethods.Gdip.
Ok
)
187
if (status != SafeNativeMethods.Gdip.
Ok
)
262
if (status != SafeNativeMethods.Gdip.
Ok
)
280
if (status != SafeNativeMethods.Gdip.
Ok
)
295
if (status != SafeNativeMethods.Gdip.
Ok
)
323
if (status != SafeNativeMethods.Gdip.
Ok
) {
361
if (status != SafeNativeMethods.Gdip.
Ok
)
375
if (status != SafeNativeMethods.Gdip.
Ok
)
388
if (status != SafeNativeMethods.Gdip.
Ok
)
401
if (status != SafeNativeMethods.Gdip.
Ok
)
412
if (status != SafeNativeMethods.Gdip.
Ok
)
423
if (status != SafeNativeMethods.Gdip.
Ok
)
436
if (status != SafeNativeMethods.Gdip.
Ok
)
496
if (status != SafeNativeMethods.Gdip.
Ok
)
549
if (status != SafeNativeMethods.Gdip.
Ok
)
611
if (status != SafeNativeMethods.Gdip.
Ok
)
674
if (status != SafeNativeMethods.Gdip.
Ok
)
699
if (status != SafeNativeMethods.Gdip.
Ok
)
714
if (status != SafeNativeMethods.Gdip.
Ok
)
742
if (status != SafeNativeMethods.Gdip.
Ok
)
758
if (status != SafeNativeMethods.Gdip.
Ok
)
791
if (status != SafeNativeMethods.Gdip.
Ok
)
817
if (status != SafeNativeMethods.Gdip.
Ok
)
848
if (status != SafeNativeMethods.Gdip.
Ok
)
865
if (status != SafeNativeMethods.Gdip.
Ok
)
895
if (status != SafeNativeMethods.Gdip.
Ok
)
912
if (status != SafeNativeMethods.Gdip.
Ok
)
937
if (status != SafeNativeMethods.Gdip.
Ok
)
955
if (status != SafeNativeMethods.Gdip.
Ok
)
977
if (status != SafeNativeMethods.Gdip.
Ok
)
998
if (status != SafeNativeMethods.Gdip.
Ok
)
1018
if (status != SafeNativeMethods.Gdip.
Ok
)
1040
if (status != SafeNativeMethods.Gdip.
Ok
)
1061
if (status != SafeNativeMethods.Gdip.
Ok
)
1081
if (status != SafeNativeMethods.Gdip.
Ok
)
1102
if (status != SafeNativeMethods.Gdip.
Ok
)
1122
if (status != SafeNativeMethods.Gdip.
Ok
)
1137
if (status != SafeNativeMethods.Gdip.
Ok
)
1154
if (status != SafeNativeMethods.Gdip.
Ok
)
1172
if (status != SafeNativeMethods.Gdip.
Ok
)
1188
if (status != SafeNativeMethods.Gdip.
Ok
)
1217
if (status != SafeNativeMethods.Gdip.
Ok
)
1247
if (status != SafeNativeMethods.Gdip.
Ok
)
1275
if (status != SafeNativeMethods.Gdip.
Ok
)
1292
if (status != SafeNativeMethods.Gdip.
Ok
)
1307
if (status != SafeNativeMethods.Gdip.
Ok
)
1325
if (status != SafeNativeMethods.Gdip.
Ok
)
1344
if (status != SafeNativeMethods.Gdip.
Ok
)
1374
if (status != SafeNativeMethods.Gdip.
Ok
)
1397
if (status != SafeNativeMethods.Gdip.
Ok
)
1419
if (status != SafeNativeMethods.Gdip.
Ok
)
1441
if (status != SafeNativeMethods.Gdip.
Ok
)
1460
if (status != SafeNativeMethods.Gdip.
Ok
)
1508
if (status != SafeNativeMethods.Gdip.
Ok
)
1547
if (status != SafeNativeMethods.Gdip.
Ok
)
1608
if (status != SafeNativeMethods.Gdip.
Ok
)
1660
if (status != SafeNativeMethods.Gdip.
Ok
)
1680
if (status != SafeNativeMethods.Gdip.
Ok
)
1702
if (status != SafeNativeMethods.Gdip.
Ok
)
1727
if (status != SafeNativeMethods.Gdip.
Ok
) {
commonui\System\Drawing\Advanced\GraphicsPathIterator.cs (12)
45
if (status != SafeNativeMethods.Gdip.
Ok
)
113
if (status != SafeNativeMethods.Gdip.
Ok
)
135
if (status != SafeNativeMethods.Gdip.
Ok
)
154
if (status != SafeNativeMethods.Gdip.
Ok
)
173
if (status != SafeNativeMethods.Gdip.
Ok
)
192
if (status != SafeNativeMethods.Gdip.
Ok
)
208
if (status != SafeNativeMethods.Gdip.
Ok
)
225
if (status != SafeNativeMethods.Gdip.
Ok
)
242
if (status != SafeNativeMethods.Gdip.
Ok
)
256
if (status != SafeNativeMethods.Gdip.
Ok
)
279
if (status != SafeNativeMethods.Gdip.
Ok
) {
321
if (status != SafeNativeMethods.Gdip.
Ok
) {
commonui\System\Drawing\Advanced\HatchBrush.cs (5)
57
if (status != SafeNativeMethods.Gdip.
Ok
)
84
if (status != SafeNativeMethods.Gdip.
Ok
)
104
if (status != SafeNativeMethods.Gdip.
Ok
)
123
if (status != SafeNativeMethods.Gdip.
Ok
)
144
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\ImageAttributes.cs (21)
76
if (status != SafeNativeMethods.Gdip.
Ok
)
149
if (status != SafeNativeMethods.Gdip.
Ok
)
223
if (status != SafeNativeMethods.Gdip.
Ok
)
253
if (status != SafeNativeMethods.Gdip.
Ok
)
293
if (status != SafeNativeMethods.Gdip.
Ok
)
318
if (status != SafeNativeMethods.Gdip.
Ok
)
343
if (status != SafeNativeMethods.Gdip.
Ok
)
368
if (status != SafeNativeMethods.Gdip.
Ok
)
393
if (status != SafeNativeMethods.Gdip.
Ok
)
417
if (status != SafeNativeMethods.Gdip.
Ok
)
441
if (status != SafeNativeMethods.Gdip.
Ok
)
470
if (status != SafeNativeMethods.Gdip.
Ok
)
497
if (status != SafeNativeMethods.Gdip.
Ok
)
522
if (status != SafeNativeMethods.Gdip.
Ok
)
547
if (status != SafeNativeMethods.Gdip.
Ok
)
575
if (status != SafeNativeMethods.Gdip.
Ok
)
600
if (status != SafeNativeMethods.Gdip.
Ok
)
636
if (status != SafeNativeMethods.Gdip.
Ok
) {
667
if (status != SafeNativeMethods.Gdip.
Ok
)
719
if (status != SafeNativeMethods.Gdip.
Ok
)
735
if (status != SafeNativeMethods.Gdip.
Ok
) {
commonui\System\Drawing\Advanced\ImageCodecInfo.cs (4)
157
if (status != SafeNativeMethods.Gdip.
Ok
) {
166
if (status != SafeNativeMethods.Gdip.
Ok
) {
190
if (status != SafeNativeMethods.Gdip.
Ok
) {
199
if (status != SafeNativeMethods.Gdip.
Ok
) {
commonui\System\Drawing\Advanced\InstalledFontCollection.cs (1)
39
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\LinearGradientBrush.cs (29)
52
if (status != SafeNativeMethods.Gdip.
Ok
)
79
if (status != SafeNativeMethods.Gdip.
Ok
)
118
if (status != SafeNativeMethods.Gdip.
Ok
)
158
if (status != SafeNativeMethods.Gdip.
Ok
)
205
if (status != SafeNativeMethods.Gdip.
Ok
)
253
if (status != SafeNativeMethods.Gdip.
Ok
)
279
if (status != SafeNativeMethods.Gdip.
Ok
)
295
if (status != SafeNativeMethods.Gdip.
Ok
)
310
if (status != SafeNativeMethods.Gdip.
Ok
)
340
if (status != SafeNativeMethods.Gdip.
Ok
)
372
if (status != SafeNativeMethods.Gdip.
Ok
)
380
if (status != SafeNativeMethods.Gdip.
Ok
)
410
if (status != SafeNativeMethods.Gdip.
Ok
) {
431
if (status != SafeNativeMethods.Gdip.
Ok
) {
474
if (status != SafeNativeMethods.Gdip.
Ok
) {
522
if (status != SafeNativeMethods.Gdip.
Ok
)
547
if (status != SafeNativeMethods.Gdip.
Ok
)
567
if (status != SafeNativeMethods.Gdip.
Ok
) {
587
if (status != SafeNativeMethods.Gdip.
Ok
) {
673
if (status != SafeNativeMethods.Gdip.
Ok
) {
706
if (status != SafeNativeMethods.Gdip.
Ok
)
715
if (status != SafeNativeMethods.Gdip.
Ok
)
753
if (status != SafeNativeMethods.Gdip.
Ok
)
764
if (status != SafeNativeMethods.Gdip.
Ok
)
790
if (status != SafeNativeMethods.Gdip.
Ok
)
823
if (status != SafeNativeMethods.Gdip.
Ok
)
848
if (status != SafeNativeMethods.Gdip.
Ok
)
874
if (status != SafeNativeMethods.Gdip.
Ok
)
899
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\Matrix.cs (22)
42
if (status != SafeNativeMethods.Gdip.
Ok
)
66
if (status != SafeNativeMethods.Gdip.
Ok
)
96
if (status != SafeNativeMethods.Gdip.
Ok
) {
131
if (status != SafeNativeMethods.Gdip.
Ok
) {
177
if (status != SafeNativeMethods.Gdip.
Ok
)
198
if (status != SafeNativeMethods.Gdip.
Ok
) {
242
if (status != SafeNativeMethods.Gdip.
Ok
)
271
if (status != SafeNativeMethods.Gdip.
Ok
)
298
if (status != SafeNativeMethods.Gdip.
Ok
)
321
if (status != SafeNativeMethods.Gdip.
Ok
)
347
if (status != SafeNativeMethods.Gdip.
Ok
)
385
if (status != SafeNativeMethods.Gdip.
Ok
)
397
if (status != SafeNativeMethods.Gdip.
Ok
)
411
if (status != SafeNativeMethods.Gdip.
Ok
)
423
if (status != SafeNativeMethods.Gdip.
Ok
)
445
if (status != SafeNativeMethods.Gdip.
Ok
) {
477
if (status != SafeNativeMethods.Gdip.
Ok
) {
509
if (status != SafeNativeMethods.Gdip.
Ok
) {
550
if (status != SafeNativeMethods.Gdip.
Ok
) {
577
if (status != SafeNativeMethods.Gdip.
Ok
)
594
if (status != SafeNativeMethods.Gdip.
Ok
)
619
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\Metafile.cs (20)
70
if (status != SafeNativeMethods.Gdip.
Ok
)
96
if (status != SafeNativeMethods.Gdip.
Ok
)
118
if (status != SafeNativeMethods.Gdip.
Ok
)
142
if (status != SafeNativeMethods.Gdip.
Ok
)
179
if (status != SafeNativeMethods.Gdip.
Ok
)
243
if (status != SafeNativeMethods.Gdip.
Ok
)
320
if (status != SafeNativeMethods.Gdip.
Ok
)
370
if (status != SafeNativeMethods.Gdip.
Ok
)
449
if (status != SafeNativeMethods.Gdip.
Ok
)
543
if (status != SafeNativeMethods.Gdip.
Ok
)
594
if (status != SafeNativeMethods.Gdip.
Ok
)
661
if (status != SafeNativeMethods.Gdip.
Ok
)
743
if (status != SafeNativeMethods.Gdip.
Ok
)
775
if (status != SafeNativeMethods.Gdip.
Ok
)
798
if (status != SafeNativeMethods.Gdip.
Ok
)
823
if (status != SafeNativeMethods.Gdip.
Ok
) {
868
if (status != SafeNativeMethods.Gdip.
Ok
) {
915
if (status != SafeNativeMethods.Gdip.
Ok
) {
958
if (status != SafeNativeMethods.Gdip.
Ok
)
983
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\PathGradientBrush.cs (32)
72
if (status != SafeNativeMethods.Gdip.
Ok
)
132
if (status != SafeNativeMethods.Gdip.
Ok
)
167
if (status != SafeNativeMethods.Gdip.
Ok
)
193
if (status != SafeNativeMethods.Gdip.
Ok
)
214
if (status != SafeNativeMethods.Gdip.
Ok
)
223
if (status != SafeNativeMethods.Gdip.
Ok
)
241
if (status != SafeNativeMethods.Gdip.
Ok
)
256
if (status != SafeNativeMethods.Gdip.
Ok
)
267
if (status != SafeNativeMethods.Gdip.
Ok
)
277
if (status != SafeNativeMethods.Gdip.
Ok
)
317
if (status != SafeNativeMethods.Gdip.
Ok
)
326
if (status != SafeNativeMethods.Gdip.
Ok
)
339
if (status != SafeNativeMethods.Gdip.
Ok
)
366
if (status != SafeNativeMethods.Gdip.
Ok
) {
386
if (status != SafeNativeMethods.Gdip.
Ok
) {
431
if (status != SafeNativeMethods.Gdip.
Ok
) {
483
if (status != SafeNativeMethods.Gdip.
Ok
)
508
if (status != SafeNativeMethods.Gdip.
Ok
)
523
if (status != SafeNativeMethods.Gdip.
Ok
) {
550
if (status != SafeNativeMethods.Gdip.
Ok
) {
607
if (status != SafeNativeMethods.Gdip.
Ok
) {
643
if (status != SafeNativeMethods.Gdip.
Ok
)
652
if (status != SafeNativeMethods.Gdip.
Ok
)
681
if (status != SafeNativeMethods.Gdip.
Ok
)
713
if (status != SafeNativeMethods.Gdip.
Ok
)
741
if (status != SafeNativeMethods.Gdip.
Ok
)
769
if (status != SafeNativeMethods.Gdip.
Ok
)
797
if (status != SafeNativeMethods.Gdip.
Ok
)
817
if (status != SafeNativeMethods.Gdip.
Ok
)
825
if (status != SafeNativeMethods.Gdip.
Ok
)
836
if (status != SafeNativeMethods.Gdip.
Ok
)
845
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (3)
43
if (status != SafeNativeMethods.Gdip.
Ok
)
101
if (status != SafeNativeMethods.Gdip.
Ok
)
127
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\SafeCustomLineCapHandle.cs (3)
31
int status = SafeNativeMethods.Gdip.
Ok
;
47
Debug.Assert(status == SafeNativeMethods.Gdip.
Ok
, "GDI+ returned an error status: " + status.ToString(CultureInfo.InvariantCulture));
49
return status == SafeNativeMethods.Gdip.
Ok
;
commonui\System\Drawing\Advanced\StringFormat.cs (22)
145
if (status != SafeNativeMethods.Gdip.
Ok
)
166
if (status != SafeNativeMethods.Gdip.
Ok
)
216
if (status != SafeNativeMethods.Gdip.
Ok
)
235
if (status != SafeNativeMethods.Gdip.
Ok
)
244
if (status != SafeNativeMethods.Gdip.
Ok
)
260
if (status != SafeNativeMethods.Gdip.
Ok
)
276
if (status != SafeNativeMethods.Gdip.
Ok
)
291
if (status != SafeNativeMethods.Gdip.
Ok
)
307
if (status != SafeNativeMethods.Gdip.
Ok
)
320
if (status != SafeNativeMethods.Gdip.
Ok
)
337
if (status != SafeNativeMethods.Gdip.
Ok
)
352
if (status != SafeNativeMethods.Gdip.
Ok
)
367
if (status != SafeNativeMethods.Gdip.
Ok
)
380
if (status != SafeNativeMethods.Gdip.
Ok
)
386
if (status != SafeNativeMethods.Gdip.
Ok
)
406
if (status != SafeNativeMethods.Gdip.
Ok
)
420
if (status != SafeNativeMethods.Gdip.
Ok
)
444
if (status != SafeNativeMethods.Gdip.
Ok
)
470
if (status != SafeNativeMethods.Gdip.
Ok
)
485
if (status != SafeNativeMethods.Gdip.
Ok
)
501
if (status != SafeNativeMethods.Gdip.
Ok
)
519
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Advanced\TextureBrush.cs (16)
87
if (status != SafeNativeMethods.Gdip.
Ok
)
129
if (status != SafeNativeMethods.Gdip.
Ok
)
171
if (status != SafeNativeMethods.Gdip.
Ok
) {
227
if (status != SafeNativeMethods.Gdip.
Ok
) {
282
if (status != SafeNativeMethods.Gdip.
Ok
) {
309
if (status != SafeNativeMethods.Gdip.
Ok
)
322
if (status != SafeNativeMethods.Gdip.
Ok
)
331
if (status != SafeNativeMethods.Gdip.
Ok
) {
363
if (status != SafeNativeMethods.Gdip.
Ok
) {
373
if (status != SafeNativeMethods.Gdip.
Ok
) {
416
if (status != SafeNativeMethods.Gdip.
Ok
) {
435
if (status != SafeNativeMethods.Gdip.
Ok
) {
467
if (status != SafeNativeMethods.Gdip.
Ok
) {
496
if (status != SafeNativeMethods.Gdip.
Ok
) {
525
if (status != SafeNativeMethods.Gdip.
Ok
) {
553
if (status != SafeNativeMethods.Gdip.
Ok
) {
commonui\System\Drawing\Bitmap.cs (24)
67
if (status != SafeNativeMethods.Gdip.
Ok
)
72
if (status != SafeNativeMethods.Gdip.
Ok
) {
109
if (status != SafeNativeMethods.Gdip.
Ok
)
114
if (status != SafeNativeMethods.Gdip.
Ok
) {
141
if (status != SafeNativeMethods.Gdip.
Ok
)
146
if (status != SafeNativeMethods.Gdip.
Ok
) {
176
if (status != SafeNativeMethods.Gdip.
Ok
)
181
if (status != SafeNativeMethods.Gdip.
Ok
) {
215
if (status != SafeNativeMethods.Gdip.
Ok
)
220
if (status != SafeNativeMethods.Gdip.
Ok
) {
246
if (status != SafeNativeMethods.Gdip.
Ok
)
266
if (status != SafeNativeMethods.Gdip.
Ok
)
299
if (status != SafeNativeMethods.Gdip.
Ok
)
360
if (status != SafeNativeMethods.Gdip.
Ok
)
384
if (status != SafeNativeMethods.Gdip.
Ok
) {
427
if (status != SafeNativeMethods.Gdip.
Ok
)
446
if (status != SafeNativeMethods.Gdip.
Ok
)
505
if (status != SafeNativeMethods.Gdip.
Ok
|| dstHandle == IntPtr.Zero)
539
if (status != SafeNativeMethods.Gdip.
Ok
|| dstHandle == IntPtr.Zero)
650
if (status != SafeNativeMethods.Gdip.
Ok
)
665
if (status != SafeNativeMethods.Gdip.
Ok
)
690
if (status != SafeNativeMethods.Gdip.
Ok
)
717
if (status != SafeNativeMethods.Gdip.
Ok
)
729
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Graphics.cs (89)
154
if (status != SafeNativeMethods.Gdip.
Ok
) {
180
if (status != SafeNativeMethods.Gdip.
Ok
) {
214
if (status != SafeNativeMethods.Gdip.
Ok
) {
242
if (status != SafeNativeMethods.Gdip.
Ok
) {
288
if (status != SafeNativeMethods.Gdip.
Ok
) {
335
if (status != SafeNativeMethods.Gdip.
Ok
) {
456
if (status != SafeNativeMethods.Gdip.
Ok
) {
482
if (status != SafeNativeMethods.Gdip.
Ok
) {
497
if (status != SafeNativeMethods.Gdip.
Ok
) {
513
if (status != SafeNativeMethods.Gdip.
Ok
) {
522
if (status != SafeNativeMethods.Gdip.
Ok
) {
538
if (status != SafeNativeMethods.Gdip.
Ok
) {
554
if (status != SafeNativeMethods.Gdip.
Ok
) {
574
if (status != SafeNativeMethods.Gdip.
Ok
) {
589
if (status != SafeNativeMethods.Gdip.
Ok
) {
605
if (status != SafeNativeMethods.Gdip.
Ok
) {
614
if (status != SafeNativeMethods.Gdip.
Ok
) {
630
if (status != SafeNativeMethods.Gdip.
Ok
) {
645
if (status != SafeNativeMethods.Gdip.
Ok
) {
661
if (status != SafeNativeMethods.Gdip.
Ok
) {
676
if (status != SafeNativeMethods.Gdip.
Ok
) {
707
if (status != SafeNativeMethods.Gdip.
Ok
) {
723
if (status != SafeNativeMethods.Gdip.
Ok
) {
744
if (status != SafeNativeMethods.Gdip.
Ok
) {
754
if (status != SafeNativeMethods.Gdip.
Ok
) {
774
if (status != SafeNativeMethods.Gdip.
Ok
) {
789
if (status != SafeNativeMethods.Gdip.
Ok
) {
804
if (status != SafeNativeMethods.Gdip.
Ok
) {
815
if (status != SafeNativeMethods.Gdip.
Ok
) {
830
if (status != SafeNativeMethods.Gdip.
Ok
) {
847
if (status != SafeNativeMethods.Gdip.
Ok
) {
953
if (status != SafeNativeMethods.Gdip.
Ok
) {
982
if (status != SafeNativeMethods.Gdip.
Ok
) {
1000
if (status != SafeNativeMethods.Gdip.
Ok
) {
1027
if (status != SafeNativeMethods.Gdip.
Ok
) {
1045
if (status != SafeNativeMethods.Gdip.
Ok
) {
1070
if (status != SafeNativeMethods.Gdip.
Ok
) {
1103
if (status != SafeNativeMethods.Gdip.
Ok
) {
1126
if (status != SafeNativeMethods.Gdip.
Ok
) {
1979
if (status != SafeNativeMethods.Gdip.
Ok
) {
2531
if (status != SafeNativeMethods.Gdip.
Ok
) {
2561
if (status != SafeNativeMethods.Gdip.
Ok
) {
2597
if (status != SafeNativeMethods.Gdip.
Ok
) {
2644
if (status != SafeNativeMethods.Gdip.
Ok
) {
2664
if (status != SafeNativeMethods.Gdip.
Ok
) {
3415
if (status != SafeNativeMethods.Gdip.
Ok
) {
3450
if (status != SafeNativeMethods.Gdip.
Ok
) {
3488
if (status != SafeNativeMethods.Gdip.
Ok
) {
3524
if (status != SafeNativeMethods.Gdip.
Ok
) {
3569
if (status != SafeNativeMethods.Gdip.
Ok
) {
3615
if (status != SafeNativeMethods.Gdip.
Ok
) {
3657
if (status != SafeNativeMethods.Gdip.
Ok
) {
3700
if (status != SafeNativeMethods.Gdip.
Ok
) {
3744
if (status != SafeNativeMethods.Gdip.
Ok
) {
3790
if (status != SafeNativeMethods.Gdip.
Ok
) {
3851
if (status != SafeNativeMethods.Gdip.
Ok
) {
3913
if (status != SafeNativeMethods.Gdip.
Ok
) {
3942
if (status != SafeNativeMethods.Gdip.
Ok
) {
3961
if (status != SafeNativeMethods.Gdip.
Ok
) {
3980
if (status != SafeNativeMethods.Gdip.
Ok
) {
4001
if (status != SafeNativeMethods.Gdip.
Ok
) {
4016
if (status != SafeNativeMethods.Gdip.
Ok
) {
4028
if (status != SafeNativeMethods.Gdip.
Ok
) {
4040
if (status != SafeNativeMethods.Gdip.
Ok
) {
4055
if (status != SafeNativeMethods.Gdip.
Ok
) {
4067
if (status != SafeNativeMethods.Gdip.
Ok
) {
4083
if (status != SafeNativeMethods.Gdip.
Ok
) {
4094
if (status != SafeNativeMethods.Gdip.
Ok
) {
4105
if (status != SafeNativeMethods.Gdip.
Ok
) {
4116
if (status != SafeNativeMethods.Gdip.
Ok
) {
4205
if (status != SafeNativeMethods.Gdip.
Ok
) {
4225
if (status != SafeNativeMethods.Gdip.
Ok
) {
4242
if (status != SafeNativeMethods.Gdip.
Ok
) {
4269
if (status != SafeNativeMethods.Gdip.
Ok
) {
4289
if (status != SafeNativeMethods.Gdip.
Ok
) {
4313
if (status != SafeNativeMethods.Gdip.
Ok
) {
4335
if (status != SafeNativeMethods.Gdip.
Ok
) {
4358
if (status != SafeNativeMethods.Gdip.
Ok
) {
4381
if (status != SafeNativeMethods.Gdip.
Ok
) {
4435
if (status != SafeNativeMethods.Gdip.
Ok
) {
4453
if (status != SafeNativeMethods.Gdip.
Ok
) {
4480
if (status != SafeNativeMethods.Gdip.
Ok
) {
4502
if (status != SafeNativeMethods.Gdip.
Ok
) {
4523
if (status != SafeNativeMethods.Gdip.
Ok
) {
4546
if (status != SafeNativeMethods.Gdip.
Ok
) {
4567
if (status != SafeNativeMethods.Gdip.
Ok
) {
4617
if (status != SafeNativeMethods.Gdip.
Ok
) {
4641
if (errorStatus != SafeNativeMethods.Gdip.
Ok
) {
4643
errorStatus = SafeNativeMethods.Gdip.
Ok
;
commonui\System\Drawing\Image.cs (46)
198
if (status != SafeNativeMethods.Gdip.
Ok
)
203
if (status != SafeNativeMethods.Gdip.
Ok
) {
268
if (status != SafeNativeMethods.Gdip.
Ok
){
275
if (status != SafeNativeMethods.Gdip.
Ok
) {
296
if (status != SafeNativeMethods.Gdip.
Ok
)
301
if (status != SafeNativeMethods.Gdip.
Ok
) {
314
if (status != SafeNativeMethods.Gdip.
Ok
)
336
if (status != SafeNativeMethods.Gdip.
Ok
)
341
if (status != SafeNativeMethods.Gdip.
Ok
) {
490
if (status != SafeNativeMethods.Gdip.
Ok
)
535
if (status != SafeNativeMethods.Gdip.
Ok
)
549
if (status != SafeNativeMethods.Gdip.
Ok
) {
611
int status = SafeNativeMethods.Gdip.
Ok
;
640
if (status != SafeNativeMethods.Gdip.
Ok
) {
701
int status = SafeNativeMethods.Gdip.
Ok
;
728
if (status != SafeNativeMethods.Gdip.
Ok
) {
753
if (status != SafeNativeMethods.Gdip.
Ok
) {
782
if (status != SafeNativeMethods.Gdip.
Ok
) {
796
if (status != SafeNativeMethods.Gdip.
Ok
)
840
if (status != SafeNativeMethods.Gdip.
Ok
)
862
if (status != SafeNativeMethods.Gdip.
Ok
)
880
if (status != SafeNativeMethods.Gdip.
Ok
)
898
if (status != SafeNativeMethods.Gdip.
Ok
)
916
if (status != SafeNativeMethods.Gdip.
Ok
)
933
if (status != SafeNativeMethods.Gdip.
Ok
)
951
if (status != SafeNativeMethods.Gdip.
Ok
)
969
if (status != SafeNativeMethods.Gdip.
Ok
)
982
if (status != SafeNativeMethods.Gdip.
Ok
) {
998
if (status != SafeNativeMethods.Gdip.
Ok
) {
1019
if (status != SafeNativeMethods.Gdip.
Ok
) {
1052
if (status != SafeNativeMethods.Gdip.
Ok
)
1075
if (status != SafeNativeMethods.Gdip.
Ok
) {
1093
if (status != SafeNativeMethods.Gdip.
Ok
) {
1126
if (status != SafeNativeMethods.Gdip.
Ok
)
1145
if (status != SafeNativeMethods.Gdip.
Ok
)
1160
if (status != SafeNativeMethods.Gdip.
Ok
)
1178
if (status != SafeNativeMethods.Gdip.
Ok
)
1189
if (status != SafeNativeMethods.Gdip.
Ok
)
1207
if (status != SafeNativeMethods.Gdip.
Ok
)
1221
if (status != SafeNativeMethods.Gdip.
Ok
) {
1241
if (status != SafeNativeMethods.Gdip.
Ok
)
1257
if (status != SafeNativeMethods.Gdip.
Ok
)
1275
if (status != SafeNativeMethods.Gdip.
Ok
)
1280
if (status != SafeNativeMethods.Gdip.
Ok
)
1293
if (status != SafeNativeMethods.Gdip.
Ok
) {
1342
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Pen.cs (45)
83
if (status != SafeNativeMethods.Gdip.
Ok
)
125
if (status != SafeNativeMethods.Gdip.
Ok
)
168
if (status != SafeNativeMethods.Gdip.
Ok
) {
254
if (status != SafeNativeMethods.Gdip.
Ok
)
267
if (status != SafeNativeMethods.Gdip.
Ok
)
288
if (status != SafeNativeMethods.Gdip.
Ok
)
305
if (status != SafeNativeMethods.Gdip.
Ok
)
333
if (status != SafeNativeMethods.Gdip.
Ok
)
351
if (status != SafeNativeMethods.Gdip.
Ok
)
380
if (status != SafeNativeMethods.Gdip.
Ok
)
396
if (status != SafeNativeMethods.Gdip.
Ok
)
417
if (status != SafeNativeMethods.Gdip.
Ok
)
436
if (status != SafeNativeMethods.Gdip.
Ok
)
454
if (status != SafeNativeMethods.Gdip.
Ok
)
475
if (status != SafeNativeMethods.Gdip.
Ok
)
488
if (status != SafeNativeMethods.Gdip.
Ok
)
509
if (status != SafeNativeMethods.Gdip.
Ok
)
522
if (status != SafeNativeMethods.Gdip.
Ok
)
538
if (status != SafeNativeMethods.Gdip.
Ok
)
550
if (status != SafeNativeMethods.Gdip.
Ok
)
572
if (status != SafeNativeMethods.Gdip.
Ok
)
590
if (status != SafeNativeMethods.Gdip.
Ok
)
612
if (status != SafeNativeMethods.Gdip.
Ok
)
628
if (status != SafeNativeMethods.Gdip.
Ok
)
642
if (status != SafeNativeMethods.Gdip.
Ok
)
671
if (status != SafeNativeMethods.Gdip.
Ok
)
696
if (status != SafeNativeMethods.Gdip.
Ok
)
720
if (status != SafeNativeMethods.Gdip.
Ok
)
744
if (status != SafeNativeMethods.Gdip.
Ok
)
758
if (status != SafeNativeMethods.Gdip.
Ok
)
776
if (status != SafeNativeMethods.Gdip.
Ok
)
795
if (status != SafeNativeMethods.Gdip.
Ok
)
870
if (status != SafeNativeMethods.Gdip.
Ok
)
881
if (status != SafeNativeMethods.Gdip.
Ok
)
902
if (status != SafeNativeMethods.Gdip.
Ok
)
921
if (status != SafeNativeMethods.Gdip.
Ok
) {
943
if (status != SafeNativeMethods.Gdip.
Ok
)
964
if (status != SafeNativeMethods.Gdip.
Ok
)
975
if (status != SafeNativeMethods.Gdip.
Ok
)
997
if (status != SafeNativeMethods.Gdip.
Ok
)
1009
if (status != SafeNativeMethods.Gdip.
Ok
) {
1043
if (status != SafeNativeMethods.Gdip.
Ok
){
1065
if (status != SafeNativeMethods.Gdip.
Ok
)
1071
if (status != SafeNativeMethods.Gdip.
Ok
)
1082
if (status != SafeNativeMethods.Gdip.
Ok
)
commonui\System\Drawing\Region.cs (45)
51
if (status != SafeNativeMethods.Gdip.
Ok
)
72
if (status != SafeNativeMethods.Gdip.
Ok
)
93
if (status != SafeNativeMethods.Gdip.
Ok
)
116
if (status != SafeNativeMethods.Gdip.
Ok
)
138
if (status != SafeNativeMethods.Gdip.
Ok
)
162
if (status != SafeNativeMethods.Gdip.
Ok
)
189
if (status != SafeNativeMethods.Gdip.
Ok
)
258
if (status != SafeNativeMethods.Gdip.
Ok
)
270
if (status != SafeNativeMethods.Gdip.
Ok
)
284
if (status != SafeNativeMethods.Gdip.
Ok
)
300
if (status != SafeNativeMethods.Gdip.
Ok
)
317
if (status != SafeNativeMethods.Gdip.
Ok
)
334
if (status != SafeNativeMethods.Gdip.
Ok
)
364
if (status != SafeNativeMethods.Gdip.
Ok
)
378
if (status != SafeNativeMethods.Gdip.
Ok
)
393
if (status != SafeNativeMethods.Gdip.
Ok
)
409
if (status != SafeNativeMethods.Gdip.
Ok
)
423
if (status != SafeNativeMethods.Gdip.
Ok
)
437
if (status != SafeNativeMethods.Gdip.
Ok
)
452
if (status != SafeNativeMethods.Gdip.
Ok
)
467
if (status != SafeNativeMethods.Gdip.
Ok
)
481
if (status != SafeNativeMethods.Gdip.
Ok
)
495
if (status != SafeNativeMethods.Gdip.
Ok
)
511
if (status != SafeNativeMethods.Gdip.
Ok
)
527
if (status != SafeNativeMethods.Gdip.
Ok
)
541
if (status != SafeNativeMethods.Gdip.
Ok
)
555
if (status != SafeNativeMethods.Gdip.
Ok
)
571
if (status != SafeNativeMethods.Gdip.
Ok
)
588
if (status != SafeNativeMethods.Gdip.
Ok
)
603
if (status != SafeNativeMethods.Gdip.
Ok
)
615
if (status != SafeNativeMethods.Gdip.
Ok
)
631
if (status != SafeNativeMethods.Gdip.
Ok
)
651
if (status != SafeNativeMethods.Gdip.
Ok
)
674
if (status != SafeNativeMethods.Gdip.
Ok
)
694
if (status != SafeNativeMethods.Gdip.
Ok
)
714
if (status != SafeNativeMethods.Gdip.
Ok
)
738
if (status != SafeNativeMethods.Gdip.
Ok
)
755
if (status != SafeNativeMethods.Gdip.
Ok
)
765
if (status != SafeNativeMethods.Gdip.
Ok
)
821
if (status != SafeNativeMethods.Gdip.
Ok
)
874
if (status != SafeNativeMethods.Gdip.
Ok
)
916
if (status != SafeNativeMethods.Gdip.
Ok
)
971
if (status != SafeNativeMethods.Gdip.
Ok
)
997
if (status != SafeNativeMethods.Gdip.
Ok
)
1010
if (status != SafeNativeMethods.Gdip.
Ok
) {
commonui\System\Drawing\SolidBrush.cs (4)
47
if (status != SafeNativeMethods.Gdip.
Ok
)
83
if (status != SafeNativeMethods.Gdip.
Ok
)
118
if (status != SafeNativeMethods.Gdip.
Ok
)
154
if (status != SafeNativeMethods.Gdip.
Ok
)