protected unsafe void EnableActionGetColor() { iCallbackGetColor = new CallbackGetColor(DoGetColor); IntPtr ptr = GCHandle.ToIntPtr(iGch); DvServiceZappOrgTestLights1EnableActionGetColor(iHandle, iCallbackGetColor, ptr); }
static extern void DvServiceZappOrgTestLights1EnableActionGetColor(uint aHandle, CallbackGetColor aCallback, IntPtr aPtr);