IXtfDeployCallback::OnDeployMetrics Method

Callback invoked when deployment metrics are reported.

This callback is invoked once at the end of the deployment evaluation process,

Syntax

public:
HRESULT OnDeployMetrics(
         ULONGLONG ullTotalFiles,
         ULONGLONG ullTotalBytes
)  

Parameters

ullTotalFiles
Type: ULONGLONG 

Number of files that will be deployed.

ullTotalBytes
Type: ULONGLONG 

Number of bytes that will be transferred during deployment.

Return value

Type: HRESULT 

Return S_OK to continue deployment, or a failure HRESULT to cancel the deployment.

Requirements

Header: Declared in xtfapplication.h.

Library: Use xtfapplication.lib.