Microsoft SDK for Java

Icon.getHandle

Retrieves the Win32 handle to this icon.

Syntax

public int getHandle()

Return Value

Returns the handle to this icon.

Exceptions

WFCException thrown if the Icon object has been disposed through a call to its dispose method.

Remarks

The handle returned by this method is not a copy of the icon handle. Therefore, this handle should not be freed by the caller.

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