Skip to content

Latest commit

 

History

History
130 lines (108 loc) · 3.2 KB

nf-recapis-getrecoattributes.md

File metadata and controls

130 lines (108 loc) · 3.2 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:recapis.GetRecoAttributes
GetRecoAttributes function (recapis.h)
Retrieves the attributes of the recognizer.
45683203-1886-4542-8b66-84861862cb6a
GetRecoAttributes
GetRecoAttributes function [Tablet PC]
recapis/GetRecoAttributes
tablet.getrecoattributes
tablet\getrecoattributes.htm
tablet
45683203-1886-4542-8b66-84861862cb6a
12/05/2018
45683203-1886-4542-8b66-84861862cb6a, GetRecoAttributes, GetRecoAttributes function [Tablet PC], recapis/GetRecoAttributes, tablet.getrecoattributes
recapis.h
Windows
Windows XP Tablet PC Edition [desktop apps \| UWP apps]
None supported
inkobjcore.dll
Windows
19H1
GetRecoAttributes
recapis/GetRecoAttributes
c++
APIRef
kbSyntax
HeaderDef
recapis.h
GetRecoAttributes

GetRecoAttributes function

-description

Retrieves the attributes of the recognizer.

-parameters

-param hrec

Handle to the recognizer.

-param pRecoAttrs

The attributes of the recognizer. The attributes define the languages and capabilities that the recognizer supports. For more information, see the RECO_ATTRS structure.

-returns

This function can return one of these values.

Return code Description
S_OK
Success.
E_INVALIDARG
An invalid argument was received.
E_POINTER
The parameter is an invalid pointer.
E_FAIL
An unspecified error occurred.

-remarks

A gesture recognizer should set the RF_OBJECT bit of the RECO_ATTRS::dwRecoCapabilityFlags and should set every element in the RECO_ATTRS::awLanguageID array to zero.

A gesture recognizer does not normally use a recognition guide. A gesture recognizer with no guide should clear the RF_LINED_INPUT and RF_BOXED_INPUT bits.

The awcFriendlyName parameter of the RECO_ATTRS structure may be empty (that is, having the first element set to the null character) when you use this structure as a return value from the GetRecoAttributes Function. Because this is not an error, the return code for awcFriendlyName in GetRecoAttributes Function will be S_OK, and the other fields will contain data.

-see-also

RECO_ATTRS Structure