private void GetCallback(IntPtr pointer, IntPtr clientData) { float[] data = new float[] { Value }; Marshal.Copy(data, 0, pointer, data.Length); }