ptCheckForPatchAndTrackUsage

GameSpy SDK

ptCheckForPatchAndTrackUsage

Does the same thing as both ptCheckForPatch and ptTrackUsage, in one call.

PTBool ptCheckForPatchAndTrackUsage(
int userID,
int productID,
const gsi_char * versionUniqueID,
int distributionID,
ptPatchCallback callback,
PTBool blocking,
void * param );
RoutineRequired HeaderDistribution
ptCheckForPatchAndTrackUsage<pt.h>SDKZIP

Return Value

Parameters

userID
[in] Numeric ID assigned by GameSpy. This is NOT the game ID.
productID
[in] Developer specified string to indentify the current version. Typically "1.0" form.
versionUniqueID
[in] Developer specified string to indentify the current version.  Typically "1.0" form.
distributionID
[in] Optional indentifier for distribution.  This is usually 0.
callback
[in] Function to be called when the operation completes.
blocking
[in] When set to PTTrue, this function will not return until the operation has completed.
param
[in] Pointer to user data. This is optional and will be passed unmodified to the callback function.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
ptCheckForPatchAndTrackUsageptCheckForPatchAndTrackUsageAptCheckForPatchAndTrackUsageW

ptCheckForPatchAndTrackUsageW and ptCheckForPatchAndTrackUsageA are UNICODE and ANSI mapped versions of ptCheckForPatchAndTrackUsage. The arguments of ptCheckForPatchAndTrackUsageA are ANSI strings; those of ptCheckForPatchAndTrackUsageW are wide-character strings.