I would like to know if there are some methods could make an C/C++ API function to return more than one values?
I ask that because I found some API functions have a syntax like this:
LNSTATUS CreateIcon( LNNote *newicon )
LNSTATUS CreateIcon( const LNNote &icon, LNNote *newicon = 0 )
Arguments
icon
Input, reference to LNNote representing the icon to be copied into the database.
newicon
Output, pointer to LNNote representing the new icon. Optional in version that copies an icon.
The functions receive servral parameters, some of them are inputs and some of them are outputs.
So I wonder if i could do the same thing between API and Notes.
Thanks for any ideas and suggestions