CreateRecognizer function (recapis.h)

Creates a recognizer.

Syntax

HRESULT CreateRecognizer(
  CLSID       *pCLSID,
  HRECOGNIZER *phrec
);

Parameters

pCLSID

CLSID of the recognizer. This value is created in the registry when you register the recognizer.

phrec

Handle for the recognizer.

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_INVALIDARG
An invalid argument was received.
E_OUTOFMEMORY
Insufficient memory.

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

See also

Registering Your Recognizer DLL