AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

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

Library
Shell32

Parameter Information
· hInst
[in] This parameter is not used; it can be NULL.

· hIcon
[in] Handle to the icon to be duplicated.

Return Values
If successful, the function returns the handle to the new icon that was created. If unsuccessful, it returns NULL.

Examples

Related Functions

No VB.NET Example Found

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/