//uses ShellAPIprocedure TForm1.Button1Click(Sender: TObject);var IconIndex:Word; h:hICON;begin IconIndex:=0; h:=ExtractIcon(HInstance,pchar('c:\windows\notepad.exe'),IconIndex); DrawICon(Form1.canvas.Handle,200,100,h);end;//用控件ImageList保存提取的图标,并在Lis