IN_PAGE lPageID;
/* Get the ID of the page that contains layer 1024 */
if ( ( nError = IN_GetParentID( 1024, &lPageID ) ) != IN_SUCCESS )
{
ErrorHandler( nError, "Error message:" );
}