IN_LAYER_INFO lLayerInfo;
/* Get the information on layer 1024 in the active document window */
if ( ( nError = IN_GetLayerInfo( 0, 1024, &lLayerInfo ) ) != IN_SUCCESS )
{
ErrorHandler( nError, "Error message:" );
}