Ejemplo n.º 1
0
        private static IntPtr RhResolveDispatchOnType(EETypePtr instanceType, EETypePtr interfaceType, ushort slot)
        {
            // Type of object we're dispatching on.
            EEType* pInstanceType = instanceType.ToPointer();

            // Type of interface
            EEType* pInterfaceType = interfaceType.ToPointer();

            return DispatchResolve.FindInterfaceMethodImplementationTarget(pInstanceType,
                                                                          pInterfaceType,
                                                                          slot);
        }
Ejemplo n.º 2
0
 private static IntPtr RhResolveDispatch(object pObject, EETypePtr interfaceType, ushort slot)
 {
     return RhResolveDispatchWorker(pObject, interfaceType.ToPointer(), slot);
 }