IOfflineAnalysisRequest::RequestOfflineAnalysisAsync method

Requests to run offline analysis with the specified source, manifest, parameters and of the specified frame.

Syntax

HRESULT RequestOfflineAnalysisAsync(
   enum OFFLINEANALYSISSOURCE analysisSource,
   BSTR                       manifestXml,
   BSTR                       parametersXml,
   DWORD                      cookie,
   BSTR                       captureFullFileName,
   DWORD                      frameNumber,
   BSTR                       outputFullFileName,
   IOfflineAnalysisCallback * requestCallback
);

Parameters

analysisSource
Specfies where the analysis source come from cached reports or from playback.

manifestXml
A COM string containing the pathname of the XML manifest file.

parametersXml
A COM string containing the pathname of the XML parameters file.

cookie
A cookie that uniquely identifies the request, and can be used to signal for it to be cancelled.

captureFullFileName
A COM string containing the absolute pathname of the capture file (.vsglog).

frameNumber
The specified frame.

outputFullFileName
A COM string containing the absolute pathname of the file where output is written.

requestCallback
The address of a callback used to notify the host of results.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Vspixengine.h

See also

IOfflineAnalysisRequest