Microsoft SDK for Java

Pen.copyHandle

Retrieves a copy of this pen's handle (HPEN).

Syntax

public final int copyHandle()

Return Value

Returns the Win32 handle to the pen.

Remarks

When you use copyHandle to retrieve the handle to a pen, you assume ownership of the handle and are responsible for freeing it.

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