CreateContext Function

CreateContext Function

Creates a recognizer context.

Syntax

[C++]

HRESULT WINAPI CreateContext(
  HRECOGNIZER hrec,
  HRECOCONTEXT *phrc
);

Parameters

hrec

[in] Handle to the recognizer.

phrc

[in] Pointer to the recognizer context.

Return Value

HRESULT value 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.