2 writes to msaaMenuInfoPtr
System.Windows.Forms (2)
winforms\Managed\System\WinForms\MenuItem.cs (2)
1049msaaMenuInfoPtr = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(MsaaMenuInfoWithId))); 1069msaaMenuInfoPtr = IntPtr.Zero;
7 references to msaaMenuInfoPtr
System.Windows.Forms (7)
winforms\Managed\System\WinForms\MenuItem.cs (7)
1054Debug.Assert(((uint) (ulong) msaaMenuInfoPtr) < firstUniqueID); // ...check for incursion into menu item ID range (unlikely!) 1058Marshal.StructureToPtr(msaaMenuInfoStruct, msaaMenuInfoPtr, false); 1059Debug.Assert(msaaMenuInfoPtr != IntPtr.Zero); 1060return msaaMenuInfoPtr; 1066if (msaaMenuInfoPtr != IntPtr.Zero) { 1067Marshal.DestroyStructure(msaaMenuInfoPtr, typeof(MsaaMenuInfoWithId)); 1068Marshal.FreeHGlobal(msaaMenuInfoPtr);