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

            self.EthernetLinkConnected(aVersion, out aLinkConnected);
            *aaLinkConnected = (aLinkConnected ? 1 : 0);
            return(0);
        }