|
The Reset operation (B_RESET) releases all resources held by a client. This operation aborts any transactions the client has pending, releases all locks, and closes all open files for the client.
Your application can issue a Reset operation at any time after the MicroKernel or Requester is loaded, as long as the client issuing the Reset call has established a connection with the MicroKernel-for example, by opening a file or by requesting the status of a file using a Btrieve utility.
If the Reset operation is successful, the MicroKernel performs the following actions for the specified client, window, or session:
If the Reset operation is unsuccessful, the MicroKernel returns a nonzero status code.
The Reset operation destroys all currencies because it closes any open files.
|
Chapter contents
Prev topic: Open (0)
|