public static RfcRc GetTypeFieldDescription(TypeDescriptionHandle descriptionHandle, int index, out RfcFieldInfo parameterInfo, out RfcErrorInfo errorInfo) { var rc = Interopt.RfcGetFieldDescByIndex(descriptionHandle.Ptr, (uint)index, out var parameterDescr, out errorInfo); parameterInfo = new RfcFieldInfo(parameterDescr.Name, parameterDescr.Type, parameterDescr.NucLength, parameterDescr.UcLength, parameterDescr.Decimals); return(rc); }
public static RfcRc GetTypeFieldCount(TypeDescriptionHandle descriptionHandle, out int count, out RfcErrorInfo errorInfo) { var rc = Interopt.RfcGetFieldCount(descriptionHandle.Ptr, out var uIntCount, out errorInfo); count = (int)uIntCount; return(rc); }