EsbOtlCloseOutline

アウトラインに関連するすべての情報を解放します。

構文

            EsbOtlCloseOutline
             (
            hOutline
            )
ByVal 
            hOutline
             As Long
         
パラメータ説明

hOutline

アウトラインのコンテキスト・ハンドル。

備考

戻り値

成功の場合、0が戻されます。

         Declare Function EsbOtlCloseOutline Lib 
"ESBOTLN" (ByVal hOutline As Long) As Long

Sub ESB_OtlCloseOutline()
Dim sts As Long
Dim Object As ESB_OBJDEF_T
Dim hOutline 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)
'body of code...
If sts = 0 Then
   sts = ESBOTLNriteOutline(hOutline, Object)
End If
'restructure outline using EsbOtlRestructure()
If sts = 0 Then
   sts = EsbOtlCloseOutline(hOutline)
End If
End Sub
      

関連トピック