gpGetTransferProgress
This function is used to get the total progress of the transfer, in bytes.
- GPResult gpGetTransferProgress(
- GPConnection * connection,
- GPTransfer transfer,
- int * progress );
Routine | Required Header | Distribution |
---|---|---|
gpGetTransferProgress | <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.
- progress
- [out] The progress of the transfer, in bytes, is stored here.
Remarks
This function is used to determine the total progress of a file transfer. This is the total number of bytes of file data that have been transferred so far.
Section Reference: Gamespy Presence SDK