Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
TSF Reference
TSF Interfaces
ITextStoreACP
 ITextStoreACP::RequestSupportedAttr...
ITextStoreACP::RequestSupportedAttrs Method

Syntax

HRESULT RequestSupportedAttrs(
  [in]  DWORD dwFlags,
  [in]  ULONG cFilterAttrs,
  [in]  const TS_ATTRID *paFilterAttrs
);

Parameters

dwFlags [in]

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.

cFilterAttrs [in]

Specifies the number of supported attributes to obtain.

paFilterAttrs [in]

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 can be supported.

Return Value

The method can return one of the following values.

ValueDescription
S_OK

The method was successful.

E_FAIL

An unspecified error occurred.

E_OUTOFMEMORY

The method was unable to allocate sufficient memory to complete the operation.

 

Requirements

Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
RedistributableTSF 1.0 onWindows NT 4.0,Windows 2000 ProfessionalandWindows MeWindows 98
HeaderTextstor.idl and Textstor.h
DLLMsctf.dll

See Also

ITextStoreACP
ITextStoreACP::RetrieveRequestededAttrs
TS_ATTRID
TS_ATTRVAL

Send comments about this topic to Microsoft

Build date: 7/14/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker