Ejemplo n.º 1
0
        private static unsafe int DoAmplifierOverTemperature(IntPtr aPtr, uint aVersion, int *aaOverTemperature)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceLinnCoUkComponent1 self = (DvServiceLinnCoUkComponent1)gch.Target;
            bool aOverTemperature;

            self.AmplifierOverTemperature(aVersion, out aOverTemperature);
            *aaOverTemperature = (aOverTemperature ? 1 : 0);
            return(0);
        }