IAPI::SQLite_errorCode

property SQLite_errorCode.

Retrieves the last SQLite error code. It is useful after running a query for example.

 

HRESULT SQLite_errorCode(
  long hSQlite3DB,
  long *pVal
);

Parameters

hSQlite3DB

[in] .   Handle of SQLite datase

pVal

[out, retval] The returned value is the last error code

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI