Пример #1
0
        private static unsafe int DoGetColor(IntPtr aPtr, uint aVersion, uint aIndex, uint *aColor)
        {
            GCHandle gch = GCHandle.FromIntPtr(aPtr);
            DvServiceZappOrgTestLights1 self = (DvServiceZappOrgTestLights1)gch.Target;
            uint color;

            self.GetColor(aVersion, aIndex, out color);
            *aColor = color;
            return(0);
        }