SHORT nDocwinCount;
/* Get the number of open document windows */
if ( ( nError = IN_GetNumberDocumentWindows( &nDocwinCount ) ) != IN_SUCCESS )
{
ErrorHandler( nError, "Error message:" );
}