Teledyne-lecroy FireInspector Automation Application Programming I Manuale Utente Pagina 25

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 92
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 24
21
FireInspector Automation User’s Manual
CATC Version 1.0
2.3.10 IAnalyzer::GetRecordingOptions
Retrieves primary interface for access to recording options.
Syntax
HRESULT GetRecordingOptions (
[out, retval] IDispatch** recording_options );
Parameters
recording_options address of a pointer to the FwRecOptions ob jec t pr imar y
interface
Return values
Remarks
FwRecOptions
object is created via this method call, if call was successful.
Example
WSH:
Set Analyzer = WScript.CreateObject("CATC.FwAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
C++:
HRESULT hr;
IFwAnalyzer* poFwAnalyzer;
// create FwAnalyzer object
if ( FAILED( CoCreateInstance(
CLSID_FwAnalyzer,
NULL, CLSCTX_SERVER,
IID_IFwAnalyzer,
LPVOID *)&poFwAnalyzer ) )
return;
// open trace file
IDispatch* rec_opt;
try
{
rec_opt = poFwAnalyzer->GetRecordingOptions();
}
catch ( _com_error& er)
{
if (er.Description().length() > 0)
::MessageBox( NULL, er.Description(), _T("FwAnalyzer
client"),MB_OK );
else
::MessageBox( NULL, er.ErrorMessage(), _T("FwAnalyzer
client"),MB_OK );
return 1;
}
// query for VTBL interface
IFwRecOptions* ib_rec_opt;
Vedere la pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 91 92

Commenti su questo manuale

Nessun commento