EsbOtlSetOutlineInfo() sets outline information.
EsbOtlSetOutlineInfo (hOutline, pInfo)
ByVal hOutline As Long pInfo As ESB_OUTLINEINFO_T
hOutline | Outline context handle. |
pInfo | Storage variable for outline information, allocated by the caller. |
Returns 0 if successful; otherwise one of the following:
OTLAPI_BAD_OUTLINETYPE
OTLAPI_ERR_DUPLICATEALIAS
OTLAPI_ERR_CURTOOMANYDIMS
OTLAPI_ERR_ILLEGALTAG
OTLAPI_ERR_DUPLICATENAME
Declare Function EsbOtlSetOutlineInfo Lib "ESBOTLW" (ByVal hOutline As Long, pInfo As ESB_OUTLINEINFO_T) As Long Su 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