14 references to RegisterType
System.Windows.Forms (14)
misc\GDI\SafeNativeMethods.cs (3)
42
public static readonly int EMF = System.Internal.HandleCollector.
RegisterType
("EnhancedMetaFile", 20, 500);
47
public static readonly int GDI = System.Internal.HandleCollector.
RegisterType
("GDI", 90, 50);
53
public static readonly int HDC = System.Internal.HandleCollector.
RegisterType
("HDC", 100, 2); // wait for 2 dc's before collecting
winforms\Managed\System\WinForms\NativeMethods.cs (11)
6137
public static readonly int Accelerator = System.Internal.HandleCollector.
RegisterType
("Accelerator", 80, 50);
6143
public static readonly int Cursor = System.Internal.HandleCollector.
RegisterType
("Cursor", 20, 500);
6149
public static readonly int EMF = System.Internal.HandleCollector.
RegisterType
("EnhancedMetaFile", 20, 500);
6155
public static readonly int Find = System.Internal.HandleCollector.
RegisterType
("Find", 0, 1000);
6161
public static readonly int GDI = System.Internal.HandleCollector.
RegisterType
("GDI", 50, 500);
6168
public static readonly int HDC = System.Internal.HandleCollector.
RegisterType
("HDC", 100, 2); // wait for 2 dc's before collecting
6174
public static readonly int CompatibleHDC = System.Internal.HandleCollector.
RegisterType
("ComptibleHDC", 50, 50); // wait for 2 dc's before collecting
6180
public static readonly int Icon = System.Internal.HandleCollector.
RegisterType
("Icon", 20, 500);
6186
public static readonly int Kernel = System.Internal.HandleCollector.
RegisterType
("Kernel", 0, 1000);
6192
public static readonly int Menu = System.Internal.HandleCollector.
RegisterType
("Menu", 30, 1000);
6198
public static readonly int Window = System.Internal.HandleCollector.
RegisterType
("Window", 5, 1000);