public static RfcRc SetString(IDataContainerHandle containerHandle, string name, string value, out RfcErrorInfo errorInfo) { return(Interopt.RfcSetString(containerHandle.Ptr, name, value, (uint)value.Length, out errorInfo)); }
public static RfcRc GetFunctionParameterDescription(FunctionDescriptionHandle descriptionHandle, int index, out RfcParameterInfo parameterInfo, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc GetTable(IDataContainerHandle dataContainer, string name, out TableHandle table, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc GetTypeFieldDescription(TypeDescriptionHandle descriptionHandle, int index, out RfcFieldInfo parameterInfo, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc GetFunctionParameterCount(FunctionDescriptionHandle descriptionHandle, out int count, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc GetBytes(IDataContainerHandle containerHandle, string name, out byte[] buffer, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static TypeDescriptionHandle GetTypeDescription(IDataContainerHandle dataContainer, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc SetBytes(IDataContainerHandle containerHandle, string name, byte[] buffer, uint bufferLength, out RfcErrorInfo errorInfo) { return(Interopt.RfcSetBytes(containerHandle.Ptr, name, buffer, bufferLength, out errorInfo)); }
public static RfcRc GetBytes(IDataContainerHandle containerHandle, string name, out byte[] buffer, out RfcErrorInfo errorInfo) { var tempBuffer = new byte[255]; var rc = Interopt.RfcGetXString(containerHandle.Ptr, name, tempBuffer, 255, out var bufferLength, out errorInfo); if (rc != RfcRc.RFC_BUFFER_TOO_SMALL) { buffer = new byte[bufferLength]; Array.Copy(tempBuffer, buffer, bufferLength); return(rc); } tempBuffer = new byte[bufferLength]; rc = Interopt.RfcGetXString(containerHandle.Ptr, name, tempBuffer, bufferLength, out _, out errorInfo); buffer = new byte[bufferLength]; tempBuffer.CopyTo(buffer, 0); return(rc); }
public static RfcRc SetTimeString(IDataContainerHandle containerHandle, string name, string value, out RfcErrorInfo errorInfo) { return(Interopt.RfcSetTime(containerHandle.Ptr, name, value.ToCharArray(0, 6), out errorInfo)); }
public static RfcRc GetTimeString(IDataContainerHandle containerHandle, string name, out string value, out RfcErrorInfo errorInfo) { var buffer = new char[6]; var rc = Interopt.RfcGetTime(containerHandle.Ptr, name, buffer, out errorInfo); value = new string(buffer); return(rc); }
public static RfcRc GetLong(IDataContainerHandle containerHandle, string name, out long value, out RfcErrorInfo errorInfo) { return(Interopt.RfcGetInt8(containerHandle.Ptr, name, out value, out errorInfo)); }
public static RfcRc SetInt(IDataContainerHandle containerHandle, string name, int value, out RfcErrorInfo errorInfo) { return(Interopt.RfcSetInt(containerHandle.Ptr, name, value, out errorInfo)); }
public static RfcRc GetString(IDataContainerHandle containerHandle, string name, out string value, out RfcErrorInfo errorInfo) { var buffer = new char[61]; var rc = Interopt.RfcGetString(containerHandle.Ptr, name, buffer, 61, out var stringLength, out errorInfo); if (rc != RfcRc.RFC_BUFFER_TOO_SMALL) { value = new string(buffer, 0, (int)stringLength); return(rc); } buffer = new char[stringLength + 1]; rc = Interopt.RfcGetString(containerHandle.Ptr, name, buffer, stringLength + 1, out _, out errorInfo); value = new string(buffer, 0, (int)stringLength); return(rc); }
public static RfcRc GetTimeString(IDataContainerHandle containerHandle, string name, out string value, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static FunctionDescriptionHandle GetFunctionDescription(ConnectionHandle connectionHandle, string functionName, out RfcErrorInfo errorInfo) { var ptr = Interopt.RfcGetFunctionDesc(connectionHandle.Ptr, functionName, out errorInfo); return(ptr == IntPtr.Zero ? null : new FunctionDescriptionHandle(ptr)); }
public static FunctionDescriptionHandle GetFunctionDescription(ConnectionHandle connectionHandle, string functionName, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc GetFunctionName(FunctionDescriptionHandle descriptionHandle, out string functionName, out RfcErrorInfo errorInfo) { return(Interopt.RfcGetFunctionName(descriptionHandle.Ptr, out functionName, out errorInfo)); }
public static RfcRc GetFunctionName(FunctionDescriptionHandle descriptionHandle, out string functionName, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static void AllowStartOfPrograms(ConnectionHandle connectionHandle, StartProgramDelegate callback, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc GetTypeFieldCount(TypeDescriptionHandle descriptionHandle, out int count, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc GetTableRowCount(TableHandle table, out int count, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static FunctionHandle CreateFunction(FunctionDescriptionHandle descriptionHandle, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static StructureHandle AppendTableRow(TableHandle table, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static ConnectionHandle OpenConnection(IDictionary <string, string> connectionParams, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc MoveToFirstTableRow(TableHandle table, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc Invoke(ConnectionHandle connectionHandle, FunctionHandle functionHandle, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc SetInt(IDataContainerHandle containerHandle, string name, int value, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static TableHandle CloneTable(TableHandle tableHandle, out RfcErrorInfo errorInfo) { throw new NotImplementedException(); }
public static RfcRc MoveToFirstTableRow(TableHandle table, out RfcErrorInfo errorInfo) { return(Interopt.RfcMoveToFirstRow(table.Ptr, out errorInfo)); }