Exemplo n.º 1
0
 public void GetRCW(ulong addr, out IMDRCW ppRCW)
 {
     if (m_type.IsRCW(addr))
     {
         ppRCW = new MDRCW(m_type.GetRCWData(addr));
     }
     else
     {
         ppRCW = null;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///     Returns the RCWData for the given object.  Note you may only call this function if IsRCW returns true.
 /// </summary>
 /// <param name="obj">The object.</param>
 /// <returns>The RCWData associated with the object, undefined result of obj is not a RCW.</returns>
 public IRcwData GetRCWData(ulong obj) => Converter.Convert(ClrType.GetRCWData(obj));