@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: The DestroyIcon API !!!!C# Signature: [DllImport("user32.dll", SetLastError=true)] static extern bool DestroyIcon(IntPtr hIcon); !!!!VB.NET Signature: <DllImport("user32.dll", SetLastError:=True)> _ Private Shared Function DestroyIcon(ByVal hIcon As IntPtr) As Boolean End Function !!!!User-Defined Types: None. !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: Bitmap bmp = (Bitmap)Image.FromFile(fileName); IntPtr icon = bmp.GetHicon(); Icon icon = Icon.FromHandle(hicon); DestroyIcon(hicon); !!!!Alternative Managed API: Omnicoder's Managed Windows API: http://www.fileden.com/files/2008/4/5/1852663/ManWinAPI.zip (broken) Documentation: DestroyIcon@msdn on MSDN
Edit user32.destroyicon
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.