Function sapnwrfc::binding::RfcSetIniPath
[−]
[src]
pub unsafe extern "C" fn RfcSetIniPath(
pathName: *const SAP_UC,
errorInfo: *mut RFC_ERROR_INFO
) -> RFC_RC
Sets the directory in which to search for the sapnwrfc.ini file.
By default the sapnwrfc library searches for the sapnwrfc.ini in the current working directory of the process. If you want to keep it in a different directory, use this function to tell the sapnwrfc library about the new path. Note: After you have changed the directory, the NW RFC lib automatically loads the contents of the new sapnwrfc.ini file from that directory.
\in *pathName The full (absolute) path of the directory, in which the sapnwrfc library should look for the sapnwrfc.ini file. A path relative to the current working directory of the process also works. \out *errorInfo Detail information in case anything goes wrong. \return RFC_RC