示例#1
0
 private static IntPtr GetIcon(string path,FileAttributeFlags attrFlags, SHGetFileInfoFlags dwFlag)
 {
     SHFILEINFO fi = new SHFILEINFO();
     int iTotal = (int)SHGetFileInfo(path, attrFlags, ref fi, 0, dwFlag);
     return fi.hIcon;
 }
示例#2
0
 public static extern IntPtr SHGetFileInfo(string path, uint fileAttributes,
                                           ref SHFILEINFO psfi, int cbFileInfo, SHGetFileInfoFlags uFlags);
示例#3
0
         public static extern IntPtr SHGetFileInfo(string path, uint fileAttributes,
 ref SHFILEINFO psfi, int cbFileInfo, SHGetFileInfoFlags uFlags);
示例#4
0
 public static extern IntPtr SHGetFileInfo(
     string pszPath,
     FileAttributeFlags dwFileAttributes, 
     ref SHFILEINFO psfi,
     uint cbSizeFileInfo, 
     SHGetFileInfoFlags uFlags);
示例#5
0
 public static extern IntPtr SHGetFileInfo(string path, uint attributes, ref ShellFileSystemInfo info, int fileInfoSize, SHGetFileInfoFlags flags);
示例#6
0
 public static extern IntPtr SHGetFileInfo(string path, uint attributes, ref ShellFileSystemInfo info, int fileInfoSize, SHGetFileInfoFlags flags);
示例#7
0
 private static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, out SHFILEINFO psfi,
     uint cbFileInfo, SHGetFileInfoFlags uFlags);
示例#8
0
 public static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref SHFileInfo psfi, uint cbSizeFileInfo, SHGetFileInfoFlags uFlags);
示例#9
0
 private static extern Int32 SHGetFileInfo(String path, Int32 fileAttributes, out SHFileInfo fileInfo, UInt32 fileInfoSize, SHGetFileInfoFlags flags);