Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ FromObject()

static ComEventsInfo System.Runtime.InteropServices.ComEventsInfo.FromObject ( object rcw)
inlinestatic

Definition at line 27 of file ComEventsInfo.cs.

28 {
29 ComEventsInfo comEventsInfo = Find(rcw);
30 if (comEventsInfo == null)
31 {
32 comEventsInfo = new ComEventsInfo(rcw);
33 Marshal.SetComObjectData(rcw, typeof(ComEventsInfo), comEventsInfo);
34 }
35 return comEventsInfo;
36 }
static ComEventsInfo Find(object rcw)

References System.Runtime.InteropServices.ComEventsInfo.ComEventsInfo(), System.Runtime.InteropServices.ComEventsInfo.Find(), and System.Runtime.InteropServices.Marshal.SetComObjectData().

Referenced by System.Runtime.InteropServices.ComEventsHelper.Combine().