Library:user32.dll
Visual Basic .NET definition
|
Declare Function CopyImage Lib "user32" (ByVal handle As Integer, ByVal un1 As Integer, ByVal n1 As Integer, ByVal n2 As Integer, ByVal un2 As Integer) As Integer
|
C# definition
|
[DllImport("user32")]
public static extern int CopyImage(int handle, int un1, int n1, int n2, int un2)
|
Description
CopyImage
Creates a new icon, cursor, or bitmap and copies the attributes of the old one to the new one.
System.Drawing.Image.Clone
Further Information:
For further information on Windows API functions such as these, and how to use these API's in your
C# and VB.NET applications, please refer to the book 'Network programming in .NET' (Buy at Amazon UK)
(Buy at Amazon US)
Visual Basic 6 example source code
Provide a code example