long ( icon-create string fileOrResource)
Creates an icon. Under X, the argument must be the filename of a valid XBM (X bitmap) file. Under Windows, the argument must be the name of an icon resource compiled into the current executable.
Use frame-set-icon to set the icon of a frame.