Manual
50
FireInspector Automation User’s Manual
CATC Version 1.0
2.5.1 IRecOptions::Load
Loads recording options from specified file.
Syntax
HRESULT Load (
[in] BSTR ro_file_name );
Parameters
• ro_file_name – string providing the full pathname to the recording options file
Return values
• ANALYZERCOMERROR_UNABLEOPENFILE – unable to open file
Remarks
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName,
InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.FwAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.Load( CurrentDir & "Input\rec_options.rec" )
C++: