EsbOtlSetOutlineInfo

Sets outline information.

Syntax

EsbOtlSetOutlineInfo (hOutline, pInfo)
ByVal hOutline As Long
      pInfo    As ESB_OUTLINEINFO_T
ParameterDescription

hOutline

Outline context handle.

pInfo

Storage variable for outline information, allocated by the caller.

Notes

Return Value

Returns 0 if successful; otherwise one of the following:

Example

Declare Function EsbOtlSetOutlineInfo Lib
"ESBOTLN" (ByVal hOutline As Long, 
pInfo As ESB_OUTLINEINFO_T) As Long

Sub ESB_OtlSetOutlineInfo()
Dim sts As Long
Dim Object As ESB_OBJDEF_T
Dim hOutline As Long
Dim Info As ESB_OUTLINEINFO_T
Object.hCtx = hCtx
Object.Type = ESB_OBJTYPE_OUTLINE
Object.AppName = "Sample"
Object.DbName = "Basic"
Object.FileName = "Basic"
sts = EsbOtlOpenOutline(hCtx, Object, 
ESB_YES, hOutline)
'call GetOutlineInfo() to fill structure
If sts = 0 Then
   Info.fCaseSensitive = ESB_FALSE
   sts = EsbOtlSetOutlineInfo(hOutline, Info)
End If
End Sub

See Also

  • EsbOtlGetOutlineInfo