TeamTalk 5 C-API DLL  Version 5.8B
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...
 
   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 3677 of file TeamTalk.h.

Member Data Documentation

◆ nClientEvent

ClientEvent TTMessage::nClientEvent

The event's message number.

See also
ClientEvent

Definition at line 3680 of file TeamTalk.h.

◆ nSource

INT32 TTMessage::nSource

The source of the event depends on wmMsg.

Definition at line 3682 of file TeamTalk.h.

◆ ttType

TTType TTMessage::ttType

Specifies which member to access in the union.

Definition at line 3684 of file TeamTalk.h.

◆ uReserved

UINT32 TTMessage::uReserved

Reserved. To preserve alignment.

Definition at line 3686 of file TeamTalk.h.

◆ channel

Channel TTMessage::channel

Valid if ttType is __CHANNEL.

Definition at line 3690 of file TeamTalk.h.

◆ clienterrormsg

ClientErrorMsg TTMessage::clienterrormsg

Valid if ttType is __CLIENTERRORMSG.

Definition at line 3692 of file TeamTalk.h.

◆ desktopinput

DesktopInput TTMessage::desktopinput

Valid if ttType is __DESKTOPINPUT.

Definition at line 3694 of file TeamTalk.h.

◆ filetransfer

FileTransfer TTMessage::filetransfer

Valid if ttType is __FILETRANSFER.

Definition at line 3696 of file TeamTalk.h.

◆ mediafileinfo

MediaFileInfo TTMessage::mediafileinfo

Valid if ttType is __MEDIAFILEINFO.

Definition at line 3698 of file TeamTalk.h.

◆ remotefile

RemoteFile TTMessage::remotefile

Valid if ttType is __REMOTEFILE.

Definition at line 3700 of file TeamTalk.h.

◆ serverproperties

ServerProperties TTMessage::serverproperties

Valid if ttType is __SERVERPROPERTIES.

Definition at line 3702 of file TeamTalk.h.

◆ serverstatistics

ServerStatistics TTMessage::serverstatistics

Valid if ttType is __SERVERSTATISTICS.

Definition at line 3704 of file TeamTalk.h.

◆ textmessage

TextMessage TTMessage::textmessage

Valid if ttType is __TEXTMESSAGE.

Definition at line 3706 of file TeamTalk.h.

◆ user

User TTMessage::user

Valid if ttType is __USER.

Definition at line 3708 of file TeamTalk.h.

◆ useraccount

UserAccount TTMessage::useraccount

Valid if ttType is __USERACCOUNT.

Definition at line 3710 of file TeamTalk.h.

◆ banneduser

BannedUser TTMessage::banneduser

Valid if ttType is __BANNEDUSER.

Definition at line 3712 of file TeamTalk.h.

◆ bActive

TTBOOL TTMessage::bActive

Valid if ttType is __TTBOOL.

Definition at line 3714 of file TeamTalk.h.

◆ nBytesRemain

INT32 TTMessage::nBytesRemain

Valid if ttType is __INT32.

Definition at line 3716 of file TeamTalk.h.

◆ nStreamID

INT32 TTMessage::nStreamID

Valid if ttType is __INT32.

Definition at line 3718 of file TeamTalk.h.

◆ nPayloadSize

INT32 TTMessage::nPayloadSize

Valid if ttType is __INT32.

Definition at line 3720 of file TeamTalk.h.

◆ nStreamType

StreamType TTMessage::nStreamType

Valid if ttType is __STREAMTYPE.

Definition at line 3722 of file TeamTalk.h.

◆ audioinputprogress

AudioInputProgress TTMessage::audioinputprogress

Valid if ttType is __AUDIOINPUTPROGRESS.

Definition at line 3724 of file TeamTalk.h.

◆ data

char TTMessage::data[1]

Definition at line 3726 of file TeamTalk.h.

◆ 

union { ... }