A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



CopyIcon

The CopyIcon function copies the specified icon from another module to the current module.

VB4-32,5,6
Declare Function CopyIcon Lib "user32" (ByVal hIcon As Long) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
User32

Parameter Information
- hIcon
[in] Handle to the icon to be copied.

Return Values
If the function succeeds, the return value is a handle to the duplicate icon.

If the function fails, the return value is NULL. To get extended error information, call GetLastError.

Last update: 07 April 2006