TipcEventGetType


Name

TipcEventGetType — get the type of an event

Synopsis

T_BOOL TipcEventGetType(event, type_return) 
T_IPC_EVENT event; 
T_IPC_EVENT_TYPE *type_return; 

Arguments

event — the event

type_return — returned type

Return Values

TRUE if the type was successfully retrieved, FALSE otherwise.

Diagnostics

If TipcEventGetType fails, it returns FALSE and sets the global SmartSockets error number to:

Description

TipcEventGetType returns an event type:

Caution

None

See Also

TipcEventCreate

Examples

This example returns an event’s type:

T_IPC_EVENT_TYPE type; 
 
if (!TipcEventGetType(event, &type)) { 
  return;  /* error */ 
} 

TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com