IPixResourceViewBindings::GetViewBinding 方法

取得在指定索引繫結的資源檢視。

語法

HRESULT GetViewBinding(
    UINT32 index,
    REFIID riid,
    void ** binding);

參數

index [在]

要擷取的資源檢視繫結的索引。

riid [在]

要返回資源檢視繫結的介面 IID。 預期: IPixResourceBinding。

binding [出]

傳回介面的指標。

傳回

成功時S_OK,否則為錯誤碼。

另請參閱