Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public static extern IntPtr SHGetFileInfo(string path, uint fileAttributes,
                                           ref SHFILEINFO psfi, int cbFileInfo, SHGetFileInfoFlags uFlags);
Ejemplo n.º 3
0
         public static extern IntPtr SHGetFileInfo(string path, uint fileAttributes,
 ref SHFILEINFO psfi, int cbFileInfo, SHGetFileInfoFlags uFlags);
Ejemplo n.º 4
0
 public static extern IntPtr SHGetFileInfo(
     string pszPath,
     FileAttributeFlags dwFileAttributes, 
     ref SHFILEINFO psfi,
     uint cbSizeFileInfo, 
     SHGetFileInfoFlags uFlags);
Ejemplo n.º 5
0
 public static extern IntPtr SHGetFileInfo(string path, uint attributes, ref ShellFileSystemInfo info, int fileInfoSize, SHGetFileInfoFlags flags);
Ejemplo n.º 6
0
 public static extern IntPtr SHGetFileInfo(string path, uint attributes, ref ShellFileSystemInfo info, int fileInfoSize, SHGetFileInfoFlags flags);
Ejemplo n.º 7
0
 private static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, out SHFILEINFO psfi,
     uint cbFileInfo, SHGetFileInfoFlags uFlags);
Ejemplo n.º 8
0
 public static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref SHFileInfo psfi, uint cbSizeFileInfo, SHGetFileInfoFlags uFlags);
Ejemplo n.º 9
0
 private static extern Int32 SHGetFileInfo(String path, Int32 fileAttributes, out SHFileInfo fileInfo, UInt32 fileInfoSize, SHGetFileInfoFlags flags);