public static extern long OpenCLKernelProfileRecord_Count_Get(IntPtr instance); [DllImport(NativeLibrary.X86Name, CallingConvention = CallingConvention.Cdecl)]