Purpose
Get the name of the library that was used
when creating this program object.
Syntax
unsigned int CWB_ENTRY cwbRC_GetLibName(
cwbRC_PgmHandle program,
char *libraryName);
Parameters
- cwbRC_PgmHandle program - input
- Handle that was returned by a previous call to the cwbRC_CreatePgm API.
It identifies the program object.
- char * libraryName - output
- Pointer to a ten character buffer where the name of the library will be
written.
Return Codes
The following list shows common return
values.
- CWB_OK
- Successful completion.
- CWB_INVALID_POINTER
- Bad or NULL pointer.
- CWBRC_INVALID_PROGRAM
- Invalid program handle.
- CWB_NOT_ENOUGH_MEMORY
- Insufficient memory; may have failed to allocate the temporary buffer.
- CWB_API_ERROR
- General API failure.