EsbGetApplicationInfoEx

Retrieves information from multiple databases, including non user-configurable parameters for the Application.

Syntax

EsbGetApplicationInfoEx (hCtx, AppName, pItems)
ByVal hCtx    As Long
ByVal AppName As String
      pItems  As Integer
ParameterDescription

hCtx

VB API context handle (logged in).

AppName

Application name.

pItems

Address of variable to receive Items of returned databases.

Notes

Return Value

If successful, this function returns an array of application information structures in ppAppInfo.

Access

This function requires the caller to have access to the specified application.

Example

Declare Function EsbGetApplicationInfoEx Lib "ESBAPIN" (ByVal hCtx As Long, ByVal AppName As String, pItems As Integer) As Long

Sub ESB_GetApplicationInfoEx() 
   Dim sts As Long
   Dim AppName As String
   Dim Items As Integer
   Dim AppInfoEx As ESB_APPINFOEX_T
   AppName = ""
   '***********************
   'Get application info Ex
   '***********************
   sts = EsbGetApplicationInfoEx(hCtx, AppName,
   Items)
   For n = 1 To Items
     '***********************************
     ' Get next Application Info item
     ' from the list
     '***********************************'
     sts = EsbGetNextItem(hCtx,ESB_APPINFOEX_TYPE,
     AppInfoEx)
   Next
End Sub

See Also