IPixGpuCaptureAnalysis::Connect method

Connect to a device for analysis.

Syntax

HRESULT Connect(
    const PIX_CONNECTION_DESC * connectionDescription,
    IPixCancellationToken * cancellationToken);

Parameters

connectionDescription [in]

The connection description. Must by initialized as described by the Type field in PIX_CONNECTION_DESC, and the pointer matching the Type must be non-null.

cancellationToken [in]

Optional token used to cancel the connection.

Returns

Returns a HRESULT value.

Remarks

Warning

The Type field must match the non-null union member in connectionDescription; otherwise the call fails.

See also