Skip to content

Latest commit

 

History

History
164 lines (124 loc) · 4.58 KB

nf-msinkaut-iinkrecognizercontext-recognize.md

File metadata and controls

164 lines (124 loc) · 4.58 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:msinkaut.IInkRecognizerContext.Recognize
IInkRecognizerContext::Recognize (msinkaut.h)
Performs recognition on an InkStrokes collection and returns recognition results. (IInkRecognizerContext.Recognize)
83695dfd-3634-47e7-8311-7216876a827a
IInkRecognizerContext interface [Tablet PC]
Recognize method
IInkRecognizerContext.Recognize
IInkRecognizerContext::Recognize
Recognize
Recognize method [Tablet PC]
Recognize method [Tablet PC]
IInkRecognizerContext interface
msinkaut/IInkRecognizerContext::Recognize
tablet.inkrecognizercontext_recognize
tablet\inkrecognizercontext_recognize.htm
tablet
83695dfd-3634-47e7-8311-7216876a827a
12/05/2018
83695dfd-3634-47e7-8311-7216876a827a, IInkRecognizerContext interface [Tablet PC],Recognize method, IInkRecognizerContext.Recognize, IInkRecognizerContext::Recognize, Recognize, Recognize method [Tablet PC], Recognize method [Tablet PC],IInkRecognizerContext interface, msinkaut/IInkRecognizerContext::Recognize, tablet.inkrecognizercontext_recognize
msinkaut.h
Windows
Windows XP Tablet PC Edition [desktop apps only]
None supported
InkObj.dll
Windows
19H1
IInkRecognizerContext::Recognize
msinkaut/IInkRecognizerContext::Recognize
c++
APIRef
kbSyntax
COM
InkObj.dll
InkObj.dll.dll
IInkRecognizerContext.Recognize

IInkRecognizerContext::Recognize

-description

Performs recognition on an InkStrokes collection and returns recognition results.

-parameters

-param RecognitionStatus [in, out]

The most recent InkRecognitionStatus value.

-param RecognitionResult [out, retval]

When this method returns, contains a pointer to the IInkRecognitionResult results of a recognized collection of strokes, or else NULL if the recognizer could not compute a result for the ink.

-returns

This method can return one of these values.

Return code Description
S_OK
Success.
E_POINTER
A parameter contained an invalid pointer.
E_UNEXPECTED
Unexpected parameter or property type.
E_INK_EXCEPTION
An exception occurred inside the method.
E_OUTOFMEMORY
Cannot allocate memory operation.

-remarks

This method performs recognition synchronously. To start background or asynchronous recognition, call the BackgroundRecognize or BackgroundRecognizeWithAlternates methods.

You must use a try/catch block when calling Recognize because an exception is thrown when the InkDisp object contains no strokes or only deleted strokes.

-see-also

BackgroundRecognize Method

BackgroundRecognizeWithAlternates Method

IInkRecognitionResult Interface

IInkRecognizerContext

InkDisp Class

InkRecognizerContext Class

InkStrokes Collection