Microsoft SDK for Java

ptrToString

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.

Syntax

public static String ptrToString(int ptr);

Return Value

Returns the Java string that represents the native string.

Parameters

ptr The native string to convert.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.