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

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