Skip to content

ABIGetEventName

ABIGetEventName#

Syntax#

int ABIGetEventName (
    ABIEventName          **aHandle );

Argument#

Data Type Argument In/Output Description
ABIEventName ** aHandle Output The pointer which retrieves the memory address of the structure array that stores the result set

Return Values#

If successful, returns the number of rows in the result set that aHandle points to; otherwise, returns an error code.

Description#

This function selects the values of the fixed columns, EVENT_ID, EVENT, WAIT_CLASS_ID, and WAIT_CLASS, from the V$SYSTEM_EVENT or V​$SESSION_EVENT performance view.

Example#

Please refer to sample_4.c for an application related to this function.

ABIEventName *sEventName;
int sRowCount;

sRowCount = ABIGetEventName( &sEventName);