7 writes to nativeFontCollection
System.Drawing (7)
commonui\System\Drawing\Advanced\FontCollection.cs (1)
29
nativeFontCollection
= IntPtr.Zero;
commonui\System\Drawing\Advanced\InstalledFontCollection.cs (2)
35
nativeFontCollection
= IntPtr.Zero;
37
int status = SafeNativeMethods.Gdip.GdipNewInstalledFontCollection(out
nativeFontCollection
);
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (4)
39
nativeFontCollection
= IntPtr.Zero;
41
int status = SafeNativeMethods.Gdip.GdipNewPrivateFontCollection(out
nativeFontCollection
);
63
SafeNativeMethods.Gdip.GdipDeletePrivateFontCollection(out
nativeFontCollection
);
83
nativeFontCollection
= IntPtr.Zero;
6 references to nativeFontCollection
System.Drawing (6)
commonui\System\Drawing\Advanced\FontCollection.cs (2)
59
int status = SafeNativeMethods.Gdip.GdipGetFontCollectionFamilyCount(new HandleRef(this,
nativeFontCollection
), out numSought);
68
status = SafeNativeMethods.Gdip.GdipGetFontCollectionFamilyList(new HandleRef(this,
nativeFontCollection
), numSought, gpfamilies,
commonui\System\Drawing\Advanced\FontFamily.cs (1)
124
IntPtr nativeFontCollection = (fontCollection == null) ? IntPtr.Zero : fontCollection.
nativeFontCollection
;
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (3)
58
if (
nativeFontCollection
!= IntPtr.Zero) {
99
int status = SafeNativeMethods.Gdip.GdipPrivateAddFontFile(new HandleRef(this,
nativeFontCollection
), filename);
125
int status = SafeNativeMethods.Gdip.GdipPrivateAddMemoryFont(new HandleRef(this,
nativeFontCollection
), new HandleRef(null, memory), length);