Microsoft SDK for Java

Palette.copyHandle

Retrieves a copy of the Win32 handle (HPALETTE) for the palette.

Syntax

public final int copyHandle()

Return Value

Returns a copy of the Win32 handle to the palette that underlies this object.

Remarks

When you copy a palette handle, you own the handle and are responsible for freeing it.

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