FTID_STATUS
|
FTID_GetErrorCodeString
|
LPSTR lpLanguage, FTID_STATUS ErrorCode, LPSTR lpErrorBuffer, DWORD ErrorBufferLength
|
Parameters
lpLanguage
|
Language to return the error code explanation in.
|
ErrorCode
|
FTID_STATUS code to return the string for.
|
lpErrorBuffer
|
Buffer to receive the error code string.
|
ErrorBufferLength
|
Length of the buffer created for the DLL version number.
|
Return Value
FTID_SUCCESS if successful, otherwise the return value is one of the following FTID error codes:
FTID_BUFFER_SIZE_TOO_SMALL
FTID_PASSED_NULL_POINTER
Example
FTID_STATUS Status = FTID_SUCCESS;
char ErrorMessage[256];
dStatus = FTID_BUFFER_SIZE_TOO_SMALL;
Status = FTID_GetErrorCodeString("EN", dStatus, ErrorMessage, 256);