DuplicateIcon The DuplicateIcon function creates a duplicate of a specified icon.
VB4-32,5,6
Declare Function DuplicateIcon Lib "shell32.dll" (ByVal hInst As Long, ByVal hIcon As Long) As Long |
VB.NET
System.Drawing.Icon.Clone |
Operating Systems Supported |
Requires Windows NT 3.5(1) or later; Requires Windows 95 or later |
- hInst
[in] This parameter is not used; it can be NULL.
- hIcon
[in] Handle to the icon to be duplicated. |
If successful, the function returns the handle to the new icon that was created. If unsuccessful, it returns NULL. |
|