estructura de MSP_EVENT_INFO (msp.h)
La estructura MSP_EVENT_INFO define el tipo de evento devuelto por el método GetEvent .
Sintaxis
typedef struct __MIDL___MIDL_itf_msp_0000_0000_0005 {
DWORD dwSize;
MSP_EVENT Event;
MSP_HANDLE hCall;
union {
struct {
MSP_ADDRESS_EVENT Type;
ITTerminal *pTerminal;
} MSP_ADDRESS_EVENT_INFO;
struct {
MSP_CALL_EVENT Type;
MSP_CALL_EVENT_CAUSE Cause;
ITStream *pStream;
ITTerminal *pTerminal;
HRESULT hrError;
} MSP_CALL_EVENT_INFO;
struct {
DWORD dwBufferSize;
BYTE pBuffer[1];
} MSP_TSP_DATA;
struct {
IDispatch *pEvent;
long lEventCode;
} MSP_PRIVATE_EVENT_INFO;
struct {
ITTerminal *pParentFileTerminal;
ITFileTrack *pFileTrack;
TERMINAL_MEDIA_STATE TerminalMediaState;
FT_STATE_EVENT_CAUSE ftecEventCause;
HRESULT hrErrorCode;
} MSP_FILE_TERMINAL_EVENT_INFO;
struct {
ITTerminal *pASRTerminal;
HRESULT hrErrorCode;
} MSP_ASR_TERMINAL_EVENT_INFO;
struct {
ITTerminal *pTTSTerminal;
HRESULT hrErrorCode;
} MSP_TTS_TERMINAL_EVENT_INFO;
struct {
ITTerminal *pToneTerminal;
HRESULT hrErrorCode;
} MSP_TONE_TERMINAL_EVENT_INFO;
};
} MSP_EVENT_INFO;
Members
dwSize
Tamaño total de la estructura devuelta.
Event
hCall
Identificador MSP; puede ser NULL.
MSP_ADDRESS_EVENT_INFO
Estructura devuelta si el evento MSP está ME_ADDRESS_EVENT.
MSP_ADDRESS_EVENT_INFO.Type
Describe el evento de dirección msp del evento que se ha producido.
MSP_ADDRESS_EVENT_INFO.pTerminal
Puntero a la interfaz ITTerminal .
MSP_CALL_EVENT_INFO
Estructura devuelta si el evento MSP está ME_CALL_EVENT.
MSP_CALL_EVENT_INFO.Type
Indica el tipo de MSP_CALL_EVENT que se ha producido.
MSP_CALL_EVENT_INFO.Cause
MSP_CALL_EVENT_INFO.pStream
Puntero a la interfaz ITStream en la que se produjo el evento.
MSP_CALL_EVENT_INFO.pTerminal
Puntero a la interfaz ITTerminal en la que se produjo el evento.
MSP_CALL_EVENT_INFO.hrError
Indica el error, si se ha producido uno.
MSP_TSP_DATA
Estructura devuelta si el evento MSP está ME_TSP_DATA.
MSP_TSP_DATA.dwBufferSize
Tamaño del búfer devuelto.
Tamaño del búfer, en bytes.
MSP_TSP_DATA.pBuffer[1]
Puntero al búfer.
MSP_PRIVATE_EVENT_INFO
Estructura devuelta si el evento MSP está ME_PRIVATE_EVENT.
MSP_PRIVATE_EVENT_INFO.pEvent
Evento MSP.
pEvent.pEvent
Puntero a la interfaz IDispatch del objeto privado en el que se ha producido el evento.
MSP_PRIVATE_EVENT_INFO.lEventCode
MSP_FILE_TERMINAL_EVENT_INFO
MSP_FILE_TERMINAL_EVENT_INFO.pParentFileTerminal
MSP_FILE_TERMINAL_EVENT_INFO.pFileTrack
MSP_FILE_TERMINAL_EVENT_INFO.TerminalMediaState
MSP_FILE_TERMINAL_EVENT_INFO.ftecEventCause
MSP_FILE_TERMINAL_EVENT_INFO.hrErrorCode
MSP_ASR_TERMINAL_EVENT_INFO
MSP_ASR_TERMINAL_EVENT_INFO.pASRTerminal
MSP_ASR_TERMINAL_EVENT_INFO.hrErrorCode
MSP_TTS_TERMINAL_EVENT_INFO
MSP_TTS_TERMINAL_EVENT_INFO.pTTSTerminal
MSP_TTS_TERMINAL_EVENT_INFO.hrErrorCode
MSP_TONE_TERMINAL_EVENT_INFO
MSP_TONE_TERMINAL_EVENT_INFO.pToneTerminal
MSP_TONE_TERMINAL_EVENT_INFO.hrErrorCode
Requisitos
Encabezado | msp.h (include Tapi3.h) |