Teledyne LeCroy SAS_SATA Automation API manual User Manual

Page 25

Advertising
background image

 

Automation API for Teledyne LeCroy SAS/SATA Protocol Suite

19

SASAnalyzer Object

Teledyne LeCroy

try
{
trace = sas_analyzer->MakeRecording( ro_file_name )
}
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;
}
// Query for VTBL interface
ISASTrace* sas_trace;
hr = trace->QueryInterface( IID_ISASTrace, (LPVOID

*)&sas_trace );

trace->Release();

Advertising