DBEnd
DBEnd
Terminate a session with a data server long sessID ; specifies a session ID
DBAsyncParmBlkPtr asyncPB; is a pointer to the asynchronous parameter
block.
The DBEnd function terminates a session with a data server and terminates the network connection between the application and the host computer. You
must call the DBEnd function to terminate a session. sessID is the session ID that was returned by the DBInit function. asyncPB is a pointer to the asynchronous parameter block. If you do not want
to call the function asynchronously, set this parameter to NIL.
noErr (0) No error
rcDBError (-802) Error ending session
rcDBBadSessID (-806) Session ID is invalid
rcDBAsyncNotSupp (-809) The database extension does not support asynchronous
calls
rcDBPackNotInited (-813) The InitDBPack function has not yet been called