PXCV_Err_FormatSeverity

<< Click to Display Table of Contents >>

Navigation:  Error Handling >

PXCV_Err_FormatSeverity


 

pdf-xchange-editor-simple-sdk_100x100 PXCV_Err_FormatSeverity

 


 

PXCV_Err_FormatSeverity returns information regarding the severity of the error. See Error Codes for further information.

 

LONG  PXCV_Err_FormatSeverity(

     HRESULT errorcode,

     LPSTR buf,

     LONG maxlen

);

 

Parameters

 

errorcode

[in] Specifies an HRESULT that a library function returned.

 

buf

[out] Specifies a pointer to a buffer where the error severity value is returned. Pass NULL for buf in order to determine the required buffer size.

 

maxlen

[in] Specifies the available buffer size in characters (including a null-terminating character).

 

Please note that all functions and parameters are case-sensitive.

 

Return Values

 

If the function fails to recognize an error code then the return value is negative.

 

If the function fails to retrieve information on an error code then the return value is zero.

 

If the function successfully retrieves information and the parameter buf is NULL then the return value is the number of characters required to store the description (including a null-terminating character).

 

If the function successfully retrieves information and the parameter buf is not NULL then the return value is the number of characters written to the buffer (including a null-terminating character).