IPixAnnotatedString::GetAnnotations 方法

取得字串的註釋。

語法

HRESULT GetAnnotations(
    REFIID riid,
    void ** annotations);

參數

riid [在]

要返回之集合的介面 IID。 預期: IPixCollection<IPixStringAnnotation>

annotations [出]

傳回介面的指標。

傳回

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

另請參閱