qr2_keybuffer_add

GameSpy SDK

qr2_keybuffer_add

Add a key identifier to the qr2_keybuffer_t.  This is used when enumerating the supported list of keys.

void qr2_keybuffer_add(
qr2_keybuffer_t keybuffer,
int keyid );
RoutineRequired HeaderDistribution
qr2_keybuffer_add<qr2.h>SDKZIP

Parameters

keybuffer
[in] Buffer to append the key ID to.
keyid
[in] The ID of the supported key.  Add one ID for each key supported.

Remarks

The qr2_keybuffer_add function is used to when enumerating the locally supported list of keys.  Add the appropriate id number for each key suppoerted.