cwbSV_CloseServiceFile
Use the cwbSV_CloseServiceFile API with this product.
Purpose
Closes the service file identified by the handle provided.
Syntax
unsigned int CWB_ENTRY cwbSV_CloseServiceFile(
cwbSV_ServiceFileHandle serviceFile,
cwbSV_ErrHandle errorHandle);
Parameters
- cwbSV_ServiceFileHandle serviceFileHandle - input
- Handle that was returned by a previous call to the cwbSV_OpenServiceFile() function.
- cwbSV_ErrHandle errorHandle - output
- Any returned messages will be written to this object. It is created with the cwbSV_CreateErrHandle API. The messages may be retrieved through the cwbSV_GetErrText API. If the parameter is set to zero, no messages will be retrieved.
Return Codes
The following list shows common return values.
- CWB_OK
- Successful completion.
- CWB_FILE_IO_ERROR
- File could not be closed.
- CWB_INVALID_HANDLE
- Handle is not valid.
Usage
None