Isasanalyzer::stopgeneration – Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 17

Advertising
background image

 

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

11

SASAnalyzer Object

Teledyne LeCroy

ISASAnalyzer::StopGeneration

HRESULT StopGeneration ( );

Stops any generation in progress.

Parameters

Return Values

ANALYZERCOMERROR_UNABLESTARTGENERATION

Unable to stop generation(invalid 

state, etc.) 

Remarks

Example

C++:
ISASAnalyzer* poAnalyzer;

. . .

try
{
poAnalyzer->StopGeneration();
}
catch (_com_error& er)
{
if (er.Description().length() > 0)
::MessageBox( NULL, er.Description(), _T("SASTracer

client"), MB_OK );

else
::MessageBox( NULL, er.ErrorMessage(), _T("SASTracer

client"), MB_OK );

return 1;
}

Advertising