- Oct
- 369
- 2
Hello –
I am having an issue with my pluging and I would just like to clarify when a plugin function or variable returns text ....
- The returned value is copied into the same buffer that was pass to the function that contained the arguments to the function
- The buffer is 8192 “bytes” large, thus it can hold 4096 unicode (TCHAR) characters, the
return value must terminate with a null, or zero value, so the longest string would be 4095 characters, plus one (1) unicode zero character
Thanks
I am having an issue with my pluging and I would just like to clarify when a plugin function or variable returns text ....
- The returned value is copied into the same buffer that was pass to the function that contained the arguments to the function
- The buffer is 8192 “bytes” large, thus it can hold 4096 unicode (TCHAR) characters, the
return value must terminate with a null, or zero value, so the longest string would be 4095 characters, plus one (1) unicode zero character
Thanks