gpSetTransferData
This function is used to store arbitrary user-data with a transfer.
- GPResult gpSetTransferData(
- GPConnection * connection,
- GPTransfer transfer,
- void * userData );
Routine | Required Header | Distribution |
---|---|---|
gpSetTransferData | <gp.h> | SDKZIP |
Return Value
This function returns GP_NO_ERROR upon success. Otherwise a valid GPResult is returned.
Parameters
- connection
- [in] A GP connection interface.
- transfer
- [in] A pointer to a GPTransfer object.
- userData
- [in] Arbitrary user data to associate with the transfer.
Remarks
This function allows an application to associate arbitrary user-data with a transfer.
Section Reference: Gamespy Presence SDK