//类似assert的宏定义。
//来至台湾某个公司的项目代码
#define HOMEPAGE_CHK_NETAPP_IDX(_idx) \
do { \if(_idx>=E_HOMEPAGE_NETAPP_MAX) \
{ \
DBG_ERROR (("<HOMEPAGE> ERR: file = %s, line = %d, reason = HOMEPAGER_INV_IDX\n\r", \
__FILE__, __LINE__)); \
return HOMEPAGER_INV_IDX; \
} \
} while (0)