gpGetNumFiles

GameSpy SDK

gpGetNumFiles

This function is used to get the number of files (including directories) being transferred.

GPResult gpGetNumFiles(
GPConnection * connection,
GPTransfer transfer,
int * num );
RoutineRequired HeaderDistribution
gpGetNumFiles<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 GPTransfer object.
num
[out] The number of files within the GPTransfer object.

Remarks

This function is used to get the number of files being transferred. This total includes any directory names that are being sent.

Section Reference: Gamespy Presence SDK