1 /// Copyright 2016 by Samsung Electronics, Inc.,
3 /// This software is the confidential and proprietary information
4 /// of Samsung Electronics, Inc. ("Confidential Information"). You
5 /// shall not disclose such Confidential Information and shall use
6 /// it only in accordance with the terms of the license agreement
7 /// you entered into with Samsung.
11 using System.Runtime.InteropServices;
13 internal static partial class Interop
15 internal static partial class Libraries
17 public const string Base = "libcapi-base-common.so.0";
20 internal static partial class CommonError
22 [DllImport(Libraries.Base, EntryPoint = "get_last_result")]
23 internal static extern int GetLastResult();
25 [DllImport(Libraries.Base, EntryPoint = "get_error_message")]
26 internal static extern IntPtr GetErrorMessage(int errorCode);