engiSaveSchemaBNUnicode
Syntax
public const string enginedll = @"engine.dll"; [DllImport(enginedll, EntryPoint = "engiSaveSchemaBNUnicode")] public static extern byte x86_engiSaveSchemaBNUnicode(Int32 model, string filePath); [DllImport(enginedll, EntryPoint = "engiSaveSchemaBNUnicode")] public static extern byte x64_engiSaveSchemaBNUnicode(Int64 model, string filePath); public static byte engiSaveSchemaBNUnicode(Int64 model, string filePath) { if (IntPtr.Size == 4) { var _result = x86_engiSaveSchemaBNUnicode((Int32)model, filePath); return _result; } else { return x64_engiSaveSchemaBNUnicode(model, filePath); } } [DllImport(enginedll, EntryPoint = "engiSaveSchemaBNUnicode")] public static extern byte x86_engiSaveSchemaBNUnicode(Int32 model, byte[] filePath); [DllImport(enginedll, EntryPoint = "engiSaveSchemaBNUnicode")] public static extern byte x64_engiSaveSchemaBNUnicode(Int64 model, byte[] filePath); public static byte engiSaveSchemaBNUnicode(Int64 model, byte[] filePath) { if (IntPtr.Size == 4) { var _result = x86_engiSaveSchemaBNUnicode((Int32)model, filePath); return _result; } else { return x64_engiSaveSchemaBNUnicode(model, filePath); } }