IPixFactory::OpenConnectionDocument 方法

開啟 Pix 連線文件。

語法

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

參數

connectionDescription [在]

連線描述。 文檔將製作副本,並且可以在調用後釋放此實例。

notifications [在]

連線通知。

logger [在]

記錄與連線文件相關的所有記錄回呼 (選用) 。

riid [在]

沒有提供描述。

document [出]

傳回介面的指標。

傳回

S_OK文件是否已順利開啟,否則為錯誤碼。

另請參閱