Beispiel #1
0
        public object GetDelegate(Type DelegateType, IntPtr Instance)
        {
            IntPtr F = ReadVTableSlot(NativeClass.GetVTable(Instance, VTableOffset), MethodIndex);

            return(Marshal.GetDelegateForFunctionPointer(F, DelegateType));
        }
Beispiel #2
0
 public NativeTypeInfo GetTypeInfo()
 {
     return(NativeClass.GetTypeInfo(InstancePointer));
 }