Previous Topic: PurposeNext Topic: Return Code


Arguments

The following table describes the arguments for the SetUserData API Function:

Name

I/O

Description

transHandle

Input

The transaction handle for this session. This value is passed into the RSCUserEntry entry point by the Gen runtime. This value must not be changed.

Sending

Output

This value must be set the same as the second parameter passed into RSCUserEntry() by the runtime.

* data

Input/ Output

A pointer to a buffer area where the runtime is to copy the client data.

Note: It is the caller’s responsibility to ensure that adequate memory has been allocated to contain the client data copied from the current message.

* length

Output

A pointer to a short that will contain the actual size of the data copied.