TeamTalk 5 C-API DLL  Version 5.14A
TTMessage Struct Reference

A struct containing the properties of an event. More...

#include <TeamTalk.h>

Public Attributes

ClientEvent nClientEvent
 The event's message number. More...
 
INT32 nSource
 The source of the event depends on wmMsg. More...
 
TTType ttType
 Specifies which member to access in the union. More...
 
UINT32 uReserved
 Reserved. To preserve alignment. More...
 
union {
   Channel   channel
 Valid if ttType is __CHANNEL. More...
 
   ClientErrorMsg   clienterrormsg
 Valid if ttType is __CLIENTERRORMSG. More...
 
   DesktopInput   desktopinput
 Valid if ttType is __DESKTOPINPUT. More...
 
   FileTransfer   filetransfer
 Valid if ttType is __FILETRANSFER. More...
 
   MediaFileInfo   mediafileinfo
 Valid if ttType is __MEDIAFILEINFO. More...
 
   RemoteFile   remotefile
 Valid if ttType is __REMOTEFILE. More...
 
   ServerProperties   serverproperties
 Valid if ttType is __SERVERPROPERTIES. More...
 
   ServerStatistics   serverstatistics
 Valid if ttType is __SERVERSTATISTICS. More...
 
   TextMessage   textmessage
 Valid if ttType is __TEXTMESSAGE. More...
 
   User   user
 Valid if ttType is __USER. More...
 
   UserAccount   useraccount
 Valid if ttType is __USERACCOUNT. More...
 
   BannedUser   banneduser
 Valid if ttType is __BANNEDUSER. More...
 
   TTBOOL   bActive
 Valid if ttType is __TTBOOL. More...
 
   INT32   nBytesRemain
 Valid if ttType is __INT32. More...
 
   INT32   nStreamID
 Valid if ttType is __INT32. More...
 
   INT32   nPayloadSize
 Valid if ttType is __INT32. More...
 
   StreamType   nStreamType
 Valid if ttType is __STREAMTYPE. More...
 
   AudioInputProgress   audioinputprogress
 Valid if ttType is __AUDIOINPUTPROGRESS. More...
 
   SoundDevice   sounddevice
 Valid if ttType is __SOUNDDEVICE. More...
 
   char   data [1]
 
}; 
 

Detailed Description

A struct containing the properties of an event.

The event can be retrieved by called TT_GetMessage. This struct is only required on non-Windows systems.

Section Client Event Handling explains event handling in the local client instance.

See also
TT_GetMessage

Definition at line 3977 of file TeamTalk.h.

Member Data Documentation

◆ nClientEvent

ClientEvent TTMessage::nClientEvent

The event's message number.

See also
ClientEvent

Definition at line 3980 of file TeamTalk.h.

◆ nSource

INT32 TTMessage::nSource

The source of the event depends on wmMsg.

Definition at line 3982 of file TeamTalk.h.

◆ ttType

TTType TTMessage::ttType

Specifies which member to access in the union.

Definition at line 3984 of file TeamTalk.h.

◆ uReserved

UINT32 TTMessage::uReserved

Reserved. To preserve alignment.

Definition at line 3986 of file TeamTalk.h.

◆ channel

Channel TTMessage::channel

Valid if ttType is __CHANNEL.

Definition at line 3990 of file TeamTalk.h.

◆ clienterrormsg

ClientErrorMsg TTMessage::clienterrormsg

Valid if ttType is __CLIENTERRORMSG.

Definition at line 3992 of file TeamTalk.h.

◆ desktopinput

DesktopInput TTMessage::desktopinput

Valid if ttType is __DESKTOPINPUT.

Definition at line 3994 of file TeamTalk.h.

◆ filetransfer

FileTransfer TTMessage::filetransfer

Valid if ttType is __FILETRANSFER.

Definition at line 3996 of file TeamTalk.h.

◆ mediafileinfo

MediaFileInfo TTMessage::mediafileinfo

Valid if ttType is __MEDIAFILEINFO.

Definition at line 3998 of file TeamTalk.h.

◆ remotefile

RemoteFile TTMessage::remotefile

Valid if ttType is __REMOTEFILE.

Definition at line 4000 of file TeamTalk.h.

◆ serverproperties

ServerProperties TTMessage::serverproperties

Valid if ttType is __SERVERPROPERTIES.

Definition at line 4002 of file TeamTalk.h.

◆ serverstatistics

ServerStatistics TTMessage::serverstatistics

Valid if ttType is __SERVERSTATISTICS.

Definition at line 4004 of file TeamTalk.h.

◆ textmessage

TextMessage TTMessage::textmessage

Valid if ttType is __TEXTMESSAGE.

Definition at line 4006 of file TeamTalk.h.

◆ user

User TTMessage::user

Valid if ttType is __USER.

Definition at line 4008 of file TeamTalk.h.

◆ useraccount

UserAccount TTMessage::useraccount

Valid if ttType is __USERACCOUNT.

Definition at line 4010 of file TeamTalk.h.

◆ banneduser

BannedUser TTMessage::banneduser

Valid if ttType is __BANNEDUSER.

Definition at line 4012 of file TeamTalk.h.

◆ bActive

TTBOOL TTMessage::bActive

Valid if ttType is __TTBOOL.

Definition at line 4014 of file TeamTalk.h.

◆ nBytesRemain

INT32 TTMessage::nBytesRemain

Valid if ttType is __INT32.

Definition at line 4016 of file TeamTalk.h.

◆ nStreamID

INT32 TTMessage::nStreamID

Valid if ttType is __INT32.

Definition at line 4018 of file TeamTalk.h.

◆ nPayloadSize

INT32 TTMessage::nPayloadSize

Valid if ttType is __INT32.

Definition at line 4020 of file TeamTalk.h.

◆ nStreamType

StreamType TTMessage::nStreamType

Valid if ttType is __STREAMTYPE.

Definition at line 4022 of file TeamTalk.h.

◆ audioinputprogress

AudioInputProgress TTMessage::audioinputprogress

Valid if ttType is __AUDIOINPUTPROGRESS.

Definition at line 4024 of file TeamTalk.h.

◆ sounddevice

SoundDevice TTMessage::sounddevice

Valid if ttType is __SOUNDDEVICE.

Definition at line 4026 of file TeamTalk.h.

◆ data

char TTMessage::data[1]

Definition at line 4028 of file TeamTalk.h.

◆ 

union { ... }