gt2GetConnectionData

GameSpy SDK

gt2GetConnectionData

Returns the user data pointer stored with this connection.

void * gt2GetConnectionData(
GT2Connection connection );
RoutineRequired HeaderDistribution
gt2GetConnectionData<gt2.h>SDKZIP

Return Value

A pointer to this connection's user data.

Parameters

connection
[in] The handle to the connection.

Remarks

Each connection has a user data pointer associated with it that can be used by the application for any purpose.