IPixFactory::OpenConnectionDocument method

Opens a Pix connection document.

Syntax

HRESULT OpenConnectionDocument(
    const PIX_CONNECTION_DESC * connectionDescription,
    IPixConnectionNotifications * notifications,
    IPixLogging * logger,
    REFIID riid,
    void ** document);

Parameters

connectionDescription [in]

The connection description. The document will make a copy and this instance can be freed after the call.

notifications [in]

The connection notifications.

logger [in]

Logging callback for all logs related to the connection document (optional).

riid [in]

No description provided.

document [out]

Pointer to the returned interface.

Returns

S_OK if the document was opened successfully, otherwise an error code.

See also