ctFileCloseCallback ctFileCloseCallback() is a stub for custom file close callbacks with the c-tree Server SDK. Declaration ctCONV NINT ctDECL ctFileCloseCallback(COUNT filno, pCTFILE ctnum pthHan); Description The c-tree Server SDK allows an application developer to create a custom c-tree Server with specific application code for increased performance. ctFileCloseCallback() provides advanced callback capabilities available to the developer. Custom operations during c-tree file close operations can be implemented. This function is located in the ctuserx.c module.
The callback functions should return zero to indicate success. When a file create or open callback function call returns a non-zero error code, the server fails the file create or open operation. The close callback function can be used to clean up any resources the custom code allocated in the create and open callback functions. Please contact FairCom regarding the availability of the c-tree Server SDK Return Values
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values. Example
Example Code */ See Also ctFileCreateCallback(), ctFileOpenCallback() |
|||||||||