# Icon

The Icon structure contains functions and structures to create and operate on icons.

    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