Previous PageTable Of ContentsHomeIndexNext Page

sr_getevttype( )

Description | Cautions | Example | See Also

Name:

long sr_getevttype(ehandle)

Inputs:

unsigned long ehandle

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

Returns:

Event type if successful

 

-1 if no current event

Includes:

srllib.h

Type:

Event Data Retrieval function

Top Of PageDescription

The sr_getevttype( ) function returns the event type for the current event. If a timeout occurs while waiting for an event this function returns SR_TIMEOUTEVT.

NOTE:
Information about the device-specific event types that are 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_getevttype(
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