EsbOtlGetMemberInfo

Gets member information for the specified member.

Syntax

EsbOtlGetMemberInfo (hOutline, hMember, pInfo)
ByVal hOutline As Long
ByVal hMember  As Long
      pInfo    As ESB_MBRINFO_T
ParameterDescription

hOutline

Outline context handle.

hMember

Member handle.

pInfo

Return variable for the member information structure. This structure is allocated by the caller.

Notes

Return Value

Returns 0 if successful.

Example

Declare Function EsbOtlGetMemberInfo Lib 
"ESBOTLN" (ByVal hOutline As Long, ByVal hMember 
As Long, pInfo As ESB_MBRINFO_T) As Long

Sub ESB_OtlGetMemberInfo()
Dim sts As Long
Dim Object As ESB_OBJDEF_T
Dim hOutline As Long
Dim MbrInfo As ESB_MBRINFO_T
Dim hMemberProfit As Long
Object.hCtx = hCtx
Object.Type = ESB_OBJTYPE_OUTLINE
Object.AppName = "Sample"
Object.DbName = "Basic"
Object.FileName = "Basic"
sts = EsbOtlOpenOutline(hCtx, Object, 
ESB_YES, ESB_YES, hOutline)
If sts = 0 Then
   sts = EsbOtlFindMember(hOutline, "Profit",
    hMemberProfit) 
End If
If sts = 0 And hMemberProfit <> 0 Then
   sts = EsbOtlGetMemberInfo(hOutline, hMemberProfit,
    MbrInfo) 
End If
End Sub

See Also