Checks if the spooled file viewer is available.
unsigned int CWB_ENTRY cwbOBJ_IsViewerAvailable( cwbSV_ErrHandle errorHandle);
The following list shows common return values.
Use this function to test for the presence of the viewer on the workstation. If the viewer is installed this function will return CWB_OK. If the viewer is not available, the function will return CWB_NO_VIEWER and the errorHandle parameter (if provided) will contain an appropriate error message. Using this function, applications can check for viewer support without calling the cwbOBJ_DisplaySplF() API.