CreateContext function

Creates a recognizer context.

Syntax


HRESULT WINAPI 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 codeDescription
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

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Recapis.h

 

 

Show: