Пример #1
0
            internal static unsafe int Invoke(DropTimecode Timecode)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((DropTimecode *)(b + 0)) = Timecode;
                Main.GetProcessEvent(LinearTimecodeComponent.DefaultObject, GetDropTimeCodeFrameNumber_ptr, new IntPtr(p));;
                return(*((int *)(b + 28)));
            }
        }
Пример #2
0
            internal static unsafe string Invoke(DropTimecode InTimecode)
            {
                long *p = stackalloc long[] { 0L, 0L, 0L, 0L, 0L, 0L, 0L };
                byte *b = (byte *)p;

                *((DropTimecode *)(b + 0)) = InTimecode;
                Main.GetProcessEvent(DropTimecodeToStringConversion.DefaultObject, Conv_DropTimecodeToString_ptr, new IntPtr(p));;
                return(FString.Get(b + 32));
            }
        }