HP Operations Manager for Windows

opcdata_get_long()


   #include opcapi.h

   long opcdata_get_long(
            const       opcdata data,           /* in */
            int         attribute               /* in */
                        );

Parameters

data
Data structure containing the queried attribute.

attribute
Specifies the attribute that is queried.

Description

Returns the value of the numeric attribute in data.

Return Values

Returns the integer value of the attribute; if the routine fails, a value of -1 is returned.

Versions

HPOM for Windows A.07.50 and later

See Also

HPOM Data Structures