IPixConnectionDocument::AttachToProcess method

Attach to the specified process.

Syntax

HRESULT AttachToProcess(
    PIX_ATTACH_TO_PROCESS_DESC * attachToProcessDescription,
    REFIID riid,
    void ** attachToProcessResults);

Parameters

attachToProcessDescription [in]

The process to attach to.

riid [in]

The interface IID of the process to attach to. Expected: IPixAttachToProcessResults.

attachToProcessResults [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also