IN_PAGE lPageID;
/* Get the page ID for page 1 of the active document */
if ( ( nError = IN_GetPageID( 0, 1, &lPageID ) ) != IN_SUCCESS )
{
ErrorHandler( nError, "Error message:" );
}