Function sapnwrfc::binding::RfcCreateFunction [] [src]

pub unsafe extern "C" fn RfcCreateFunction(
    funcDescHandle: RFC_FUNCTION_DESC_HANDLE,
    errorInfo: *mut RFC_ERROR_INFO
) -> RFC_FUNCTION_HANDLE

Creates a data container that can be used to execute function calls in the backend via RfcInvoke().

The importing parameters can be set using the RfcSetX functions. After the RfcInvoke() call returned successfully, the exporting parameters can be read from this data container via the RfcGetX functions.

\in funcDescHandle Metadata description ("blueprint") for the data container to be created. \out *errorInfo Error information in case the parameters are incorrect or there's not enough memory. \return A handle to the function module container.