public static extern IntPtr OpenCL_GetDevice(IntPtr list, UIntPtr index); [DllImport(NativeLibrary.X64Name, CallingConvention = CallingConvention.Cdecl)]