lxaGetLastWarnings

<< lxaGetSalienceErrorString | Back to Salience 6 C API Index | lxaSetSalienceCallback >>

Summary

Gets the last warnings issued on a session. If you get a return of LXA_OK_WITH_WARNINGS on a function call then you can call this function to find out what the warnings were. The pWarnings pointer will be set to a bitmask containing the current warning codes.
Documentation of the warning codes can be found on the Errors and Warning Codes page.

Syntax

int lxaGetLastWarnings(SalienceSession* pSession, int* pWarnings);

Parameters

pSession Pointer to a SalienceSession structure previously returned by a call to lxaOpenSalienceSession
pWarnings Pointer to an int that will take the warning bitmask

Returns

This method returns an integer return code.

Example

TODO: Example needed for Salience 6

<< lxaGetSalienceErrorString | Back to Salience 6 C API Index | lxaSetSalienceCallback >>