Exemplo n.º 1
0
        private static unsafe int DoSetStartupSourceIndex(IntPtr aPtr, uint aVersion, uint aaSourceIndex)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkProduct3 self = (DvServiceLinnCoUkProduct3)gch.Target;

            self.SetStartupSourceIndex(aVersion, aaSourceIndex);
            return(0);
        }
Exemplo n.º 2
0
        private static unsafe int DoSetStartupSourceEnabled(IntPtr aPtr, uint aVersion, int aaStartupSourceEnabled)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkProduct3 self = (DvServiceLinnCoUkProduct3)gch.Target;
            bool aStartupSourceEnabled     = (aaStartupSourceEnabled != 0);

            self.SetStartupSourceEnabled(aVersion, aStartupSourceEnabled);
            return(0);
        }
Exemplo n.º 3
0
        private static unsafe int DoSetStartupSourceIndexByName(IntPtr aPtr, uint aVersion, char *aaSourceName)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkProduct3 self = (DvServiceLinnCoUkProduct3)gch.Target;
            string aSourceName             = Marshal.PtrToStringAnsi((IntPtr)aaSourceName);

            self.SetStartupSourceIndexByName(aVersion, aSourceName);
            return(0);
        }
Exemplo n.º 4
0
        private static unsafe int DoSetStandby(IntPtr aPtr, uint aVersion, int aaStandby)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkProduct3 self = (DvServiceLinnCoUkProduct3)gch.Target;
            bool aStandby = (aaStandby != 0);

            self.SetStandby(aVersion, aStandby);
            return(0);
        }
Exemplo n.º 5
0
        private static unsafe int DoSetRoom(IntPtr aPtr, uint aVersion, char *aaRoom)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkProduct3 self = (DvServiceLinnCoUkProduct3)gch.Target;
            string aRoom = Marshal.PtrToStringAnsi((IntPtr)aaRoom);

            self.SetRoom(aVersion, aRoom);
            return(0);
        }
Exemplo n.º 6
0
        private static unsafe int DoSetSourceVisible(IntPtr aPtr, uint aVersion, uint aaSourceIndex, int aaSourceVisible)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkProduct3 self = (DvServiceLinnCoUkProduct3)gch.Target;
            bool aSourceVisible            = (aaSourceVisible != 0);

            self.SetSourceVisible(aVersion, aaSourceIndex, aSourceVisible);
            return(0);
        }
Exemplo n.º 7
0
        private static unsafe int DoSourceName(IntPtr aPtr, uint aVersion, uint aaSourceIndex, char **aaSourceName)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkProduct3 self = (DvServiceLinnCoUkProduct3)gch.Target;
            string aSourceName;

            self.SourceName(aVersion, aaSourceIndex, out aSourceName);
            *aaSourceName = (char *)Marshal.StringToHGlobalAnsi(aSourceName).ToPointer();
            return(0);
        }
Exemplo n.º 8
0
        private static unsafe int DoSourceIndex(IntPtr aPtr, uint aVersion, uint *aaSourceIndex)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkProduct3 self = (DvServiceLinnCoUkProduct3)gch.Target;
            uint aSourceIndex;

            self.SourceIndex(aVersion, out aSourceIndex);
            *aaSourceIndex = aSourceIndex;
            return(0);
        }
Exemplo n.º 9
0
        private static unsafe int DoRoom(IntPtr aPtr, uint aVersion, char **aaRoom)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkProduct3 self = (DvServiceLinnCoUkProduct3)gch.Target;
            string aRoom;

            self.Room(aVersion, out aRoom);
            *aaRoom = (char *)Marshal.StringToHGlobalAnsi(aRoom).ToPointer();
            return(0);
        }