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