ITextStoreAnchor::RequestSupportedAttrs method (textstor.h)
Obtains the supported attributes of a text stream.
Syntax
HRESULT RequestSupportedAttrs(
[in] DWORD dwFlags,
[in] ULONG cFilterAttrs,
[in] const TS_ATTRID *paFilterAttrs
);
Parameters
[in] dwFlags
Specifies whether a subsequent call to the ITextStoreAnchor::RetrieveRequestedAttrs method will contain the supported attributes. If the TS_ATTR_FIND_WANT_VALUE flag is specified, the default attribute values will be those in the TS_ATTRVAL structure after the subsequent call to ITextStoreAnchor::RetrieveRequestedAttrs. If any other flag is specified for this parameter, the method only verifies that the attribute is supported and that the varValue member of the TS_ATTRVAL structure is set to VT_EMPTY.
[in] cFilterAttrs
Specifies the number of supported attributes to obtain.
[in] paFilterAttrs
Pointer to the TS_ATTRID data type that specifies the attribute to verify. The method returns only the attributes specified by TS_ATTRID, even though other attributes might be supported.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
An unspecified error occurred. |
|
The method was unable to allocate sufficient memory to complete the operation. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | textstor.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |