2 writes to _hInstance
System.Windows.Forms.Design (2)
System\Drawing\Design\ColorEditor.CustomColorDialog.cs (2)
28
_hInstance
= Marshal.AllocHGlobal(size);
50
_hInstance
= IntPtr.Zero;
5 references to _hInstance
System.Windows.Forms.Design (5)
System\Drawing\Design\ColorEditor.CustomColorDialog.cs (5)
29
Marshal.Copy(buffer, 0,
_hInstance
, size);
36
Debug.Assert(
_hInstance
!= IntPtr.Zero, "Dialog has been disposed");
37
return
_hInstance
;
47
if (
_hInstance
!= IntPtr.Zero)
49
Marshal.FreeHGlobal(
_hInstance
);