IPixAnnotatedString::GetAnnotations method

Gets annotations for the string.

Syntax

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

Parameters

riid [in]

The interface IID of the collection to be returned. Expected: IPixCollection<IPixStringAnnotation>

annotations [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also