This method of the DllLib class converts a native string to a java.lang.String object. The native string is assumed to be in ANSI format if the auto mode is ANSI; otherwise, Unicode format is assumed. A string that has the high-order word set to zero is allowed and is converted to null.
public static String ptrToString(int ptr);
Returns the Java string that represents the native string.
ptr | The native string to convert. |