Microsoft SDK for Java

release

This method of the DllLib class frees the native memory associated with an object declared using the @dll.struct compiler directive, if that memory would normally have been released by garbage collection. If the object is not declared using @dll.struct, or if the native memory associated with the object is not owned by the garbage-collector, this method does nothing.

Syntax

public static native void release(Object o);

Parameters

o The object to be freed.

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