Actions

Difference between revisions of "Error"

From XnView Wiki

Line 1: Line 1:
== gflGetErrorString ==
>== gflGetErrorString ==


The gflGetErrorString function returns a null-terminated string that contains the error string.  
The gflGetErrorString function returns a null-terminated string that contains the error string.  


  const char* <b>gflGetErrorString</b>(
  const char* &lt;b&gt;gflGetErrorString&lt;/b&gt;(
   GFL_ERROR error
   GFL_ERROR error
  );
  );
Line 39: Line 39:


[[Category: GFLSDK Reference Manual]]
[[Category: GFLSDK Reference Manual]]
----
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
----
=[http://ofysuzusys.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]=
----
=[http://ofysuzusys.co.cc CLICK HERE]=
----
</div>

Revision as of 02:48, 18 November 2010

>== gflGetErrorString ==

The gflGetErrorString function returns a null-terminated string that contains the error string.

const char* <b>gflGetErrorString</b>(
  GFL_ERROR error
);

Parameters

error
GFL_NO_ERROR 0 No error
GFL_ERROR_FILE_OPEN 1 File open error
GFL_ERROR_FILE_READ 2 File read error
GFL_ERROR_FILE_CREATE 3 File create error
GFL_ERROR_FILE_WRITE 4 File write error
GFL_ERROR_NO_MEMORY 5 No more memory
GFL_ERROR_UNKNOWN_FORMAT 6 Unknown format
GFL_ERROR_BAD_BITMAP 7 The format doesn't permit to save this type of picture
GFL_ERROR_BAD_FORMAT_INDEX 10 Bad picture format
GFL_ERROR_BAD_PARAMETERS 50 Bad parameters
GFL_UNKNOWN_ERROR 255 Other error

Return value

The function returns a null-terminated string that contains the error string.