CreateContext function (recapis.h)

Creates a recognizer context.

Syntax

HRESULT CreateContext(
  HRECOGNIZER  hrec,
  HRECOCONTEXT *phrc
);

Parameters

hrec

Handle to the recognizer.

phrc

Pointer to the recognizer context.

Return value

This function can return one of these values.

Return code Description
S_OK
Success.
E_FAIL
An unspecified error occurred.
E_POINTER
The parameter is an invalid pointer.
E_OUTOFMEMORY
There is insufficient memory to complete the operation.
E_INVALIDARG
An invalid argument was received.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header recapis.h
DLL inkobjcore.dll