API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ISQL_GETERRORMSG()

Brew Release
Brew MP 1.0.2
See Also
ISQL ISQL_GetErrorMsgSize
Description
This function copies the last error message generated by ISQL into the supplied buffer. The buffer passed in must be non-null. Typcially, an application would first call ISQL_GetErrorMsgSize() to determine how big a buffer is needed, allocate memory for that buffer, then pass it to ISQL_GetErrorMsg() to retrieve the last error message.
Params
pISQL
[]:
Pointer to the ISQL interface object.
msg
[]:
buffer (non-NULL) to copy the error message into.
size
[]:
size of the msg buffer.
Interface
Prototype
  •    int ISQL_GetErrorMsg(ISQL *piSQL, char *msg, int size);
        
Return
  • Any error that occurred copying the last error message