<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Windows Interface Reference: Icon structure</title> </head> <body> <h1>Icon </h1> <p>The Icon structure contains functions and structures to create and operate on icons.</p> <pre>structure Icon: sig type HICON and HINSTANCE and HDC val CopyIcon : HICON -> HICON val DestroyIcon : HICON -> unit val DrawIcon : HDC * int * int * HICON -> unit val ExtractIcon : HINSTANCE * string * int -> HICON val IDI_APPLICATION : Resource.RESID val IDI_ASTERISK : Resource.RESID val IDI_ERROR : Resource.RESID val IDI_EXCLAMATION : Resource.RESID val IDI_HAND : Resource.RESID val IDI_INFORMATION : Resource.RESID val IDI_QUESTION : Resource.RESID val IDI_WARNING : Resource.RESID val IDI_WINLOGO : Resource.RESID val LoadIcon : HINSTANCE * Resource.RESID -> HICON end</pre> </body> </html>