EsbOtlGetMemberInfo() gets member information for the specified member.
EsbOtlGetMemberInfo (hOutline, hMember, pInfo)
ByVal hOutline As Long
ByVal hMember As Long
pInfo As ESB_MBRINFO_T
| hOutline | Outline context handle. |
| hMember | Member handle. |
| pInfo | Return variable for the member information structure. This structure is allocated by the caller. |
Returns 0 if successful.
Declare Function EsbOtlGetMemberInfo Lib
"ESBOTLW" (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