Manual

54
FireInspector Automation User’s Manual
CATC Version 1.0
2.5.5 IRecOptions::SetPostTriggerPercentage
Sets the post-trigger buffer size.
Syntax
HRESULT SetPostTriggerPercentage (
[in] short posttrigger_percentage );
Parameters
posttrigger_percentage the size of post-trigger buffer in percents of the whole
recording buffer (see section 2.5, Primary Dual Interface for Recording Options, on
page 49)
Return values
E_INVALIDARGinvalid percentage was specified
Remarks
This method call has no effect if recording mode was set to RMODE_SNAPSHOT (see sec-
tion 2.5.3, IRecOptions::SetRecMode, on page 52).
The default setting is 50%.
Example
WSH:
CurrentDir = Left(WScript.ScriptFullName,
InstrRev(WScript.ScriptFullName, "\"))
Set Analyzer = WScript.CreateObject("CATC.FwAnalyzer")
Set RecOptions = Analyzer.GetRecordingOptions
RecOptions.SetPostTriggerPercentage 60' 60%
C++: