chatGetChannelModeCallback
Called after an attempt to get the channel mode.
- typedef void (*chatGetChannelModeCallback)(
- CHAT chat,
- CHATBool success,
- const gsi_char * channel,
- CHATChannelMode * mode,
- void * param );
Routine | Required Header | Distribution |
---|---|---|
chatGetChannelModeCallback | <chat.h> | SDKZIP |
Parameters
- chat
- [in] The initialized chat interface object.
- success
- [in] CHATTrue if success, CHATFalse if failure.
- channel
- [in] The name of channel
- mode
- [in] One of the predefined modes
- param
- [in] Pointer to user data. Passed through unmodified from the initiating function.
Remarks
The chatGetChannelModeCallback function is called when an attempt to get the channel mode is complete. If successful, the function will have the channel name and its mode.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
chatGetChannelModeCallback | chatGetChannelModeCallbackA | chatGetChannelModeCallbackW |
chatGetChannelModeCallbackW and chatGetChannelModeCallbackA are UNICODE and ANSI mapped versions of chatGetChannelModeCallback. The arguments of chatGetChannelModeCallbackA are ANSI strings; those of chatGetChannelModeCallbackW are wide-character strings.
Section Reference: Gamespy Chat SDK