Previous PageTable Of ContentsHomeIndexNext Page

sr_getevtlen( )

Description | Cautions | Example | See Also

Name:

long sr_getevtlen(ehandle)

Inputs:

unsigned long ehandle

· event handle returned by sr_waitevtEx( ), or zero if sr_waitevt( ) is used

Returns:

length of data if successful

 

-1 if no current event

Includes:

srllib.h

Type:

Event Data Retrieval function

Top Of PageDescription

The sr_getevtlen( ) function returns the length of the variable data associated with the current event. If there is no data associated with the current event, a value of zero is returned.

NOTE:
Information about the length of data returned by this function can be found in the appropriate technology-specific Programmer's Guide.

Top Of PageCautions

This function is called differently when used with sr_waitevt( ) or sr_waitevtEx( ).

For applications using sr_waitevt( ), pass a 0 parameter:
sr_getevtlen(
0). Do not use the event descriptor handle parameter, ehandle.

Top Of PageExample

Top Of PageSee Also


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2001, Dialogic Corporation
All rights reserved
This page generated January, 2001