1. 首页
  2. 编程语言
  3. C#
  4. C#根据文件类型获取系统图标

C#根据文件类型获取系统图标

上传者: 2021-01-07 07:09:31上传 ZIP文件 14.11KB 热度 14次
根据文件类型获取系统图标 #region APIs [DllImport("shell32.dll", EntryPoint = "ExtractIconA", CharSet = CharSet.Ansi, SetLastError = true, ExactSpelling = true)] private static extern IntPtr ExtractIcon(int hInst, string lpszExeFileName, int nIconIndex); [DllImport("shell32.dll", CharSe
用户评论