ptTrackUsage

GameSpy SDK

ptTrackUsage

Track usage of a product, based on version and distribution.

PTBool ptTrackUsage(
int userID,
int productID,
const gsi_char * versionUniqueID,
int distributionID,
PTBool blocking );
RoutineRequired HeaderDistribution
ptTrackUsage<pt.h>SDKZIP

Return Value

If PTFalse is returned, there was an error tracking usage.

Parameters

userID
[in] The GP userID of the user who is using the product. Can be 0.
productID
[in] The ID of this product.
versionUniqueID
[in] A string uniquely identifying this version.
distributionID
[in] The distribution ID for this version. Can be 0.
blocking
[in] When set to PTTrue, this function will not return until the operation has completed

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
ptTrackUsageptTrackUsageAptTrackUsageW

ptTrackUsageW and ptTrackUsageA are UNICODE and ANSI mapped versions of ptTrackUsage. The arguments of ptTrackUsageA are ANSI strings; those of ptTrackUsageW are wide-character strings.