Returns the type of string that is being passed or returned in NKS interfaces.
#include <nks/vm.h> int NXVmGetStringType ( NXStrType_t *type);
(OUT) Points to the string type and returns one of the following flags:
If successful, returns 0; otherwise returns an error:
NXVmGetStringType is informational only. It returns the effective type of the string that is currently in use by NKS for the application (or VM), as specified when the application was linked. Once the string type is set at link time, there is no way to change it.
The string type defaults to Unicode. You must perform any additional translation between Unicode and ASCII representation outside NKS.
All passed and returned NKS strings—for example, to NXFileOpen and from NXGetAttr—conform to this string type, which may or may not be the most efficient for the host platform.