DoneEx INI-File Manager Library  API Help

  Info

The function Info retrieve information about version.

				
int Info(const char* info_name,   //id of retrieve information
         char  **out_info,        //return string with information
         const long buf_size      //size of the buffer with return information
);				

Parameters
info_name
[input] The identification string of retrieve information. Acceptible values are:
"user name" - retrieve registered user name.
"user email" - retrieve registered user e-mail.
"ver" - retrieve number of the current version of dll.
out_info
[output] Pointer to pointer to null-terminated string where result will be placed.
buf_size
[input] The size of buffer reserved for the result.

Return Values
If succeed the Info function returns zero. Otherwise it returns value not equal to zero. To get extended error information, call GetLastErr.