Example #1
0
extern "C" int CanalGetStatistics( long handle, PCANALSTATISTICS pCanalStatistics  )
#endif
{
	CPeakObj *pdrvObj =  theApp->getDriverObject( handle );
	if ( NULL == pdrvObj ) return 0;
	return ( pdrvObj->getStatistics( pCanalStatistics ) ? CANAL_ERROR_SUCCESS : CANAL_ERROR_GENERIC );
}