File to be inserted
Any header data, which can be NULL
Any footer data, which can be NULL
Length of the header data in bytes, which can be 0
Length of the footer data in bytes, which can be 0
ORed directives for this function. See Flags.
Timeout before this function aborts
Pointer to the request
Pointer to the session