Function sapnwrfc::binding::RfcGetStringLength [] [src]

pub unsafe extern "C" fn RfcGetStringLength(
    dataHandle: DATA_CONTAINER_HANDLE,
    name: *const SAP_UC,
    stringLength: *mut c_uint,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC

Returns the length of the value of a STRING or XSTRING parameter.

The field specified by name must be of type RFCTYPE_STRING or RFCTYPE_XSTRING. If that field is of type STRING, the returned length is measured in characters, otherwise in bytes.

\in dataHandle A data container (function handle, structure handle or table handle). If dataHandle is a table handle, the function will read the field value of the current row. \in *name The name of a STRING or XSTRING field. \out *stringLength Length of the current field value. \out *errorInfo Wrong field type? \return RFC_RC