Desktop Functions: Smart Device Functions:
|
Search Results for "SHGFI" in [All]shell32
SHGFI uFlags );
enum SHGFI : int
SHGFI flags;
flags = SHGFI.Icon|SHGFI.SmallIcon|SHGFI.UseFileAttributes;
flags = SHGFI.Icon|SHGFI.LargeIcon|SHGFI.UseFileAttributes;
public const uint SHGFI_ICON = 0x100;
public const uint SHGFI_LARGEICON = 0x0; // 'Large icon
public const uint SHGFI_SMALLICON = 0x1; // 'Small icon
return GetIcon(fileName, Win32.SHGFI_SMALLICON);
return GetIcon(fileName, Win32.SHGFI_LARGEICON);
IntPtr hImgSmall = Win32.SHGetFileInfo(fileName, 0, ref shinfo, (uint)Marshal.SizeOf(shinfo), Win32.SHGFI_ICON | flags); Public Enum SHGFI Constants3: ShellAPI
public const int SHGFI_ICON = 0x000000100; // get icon
public const int SHGFI_DISPLAYNAME = 0x000000200; // get display name
public const int SHGFI_TYPENAME = 0x000000400; // get type name
public const int SHGFI_ATTRIBUTES = 0x000000800; // get attributes
public const int SHGFI_ICONLOCATION = 0x000001000; // get icon location
public const int SHGFI_EXETYPE = 0x000002000; // return exe type
public const int SHGFI_SYSICONINDEX = 0x000004000; // get system icon index
public const int SHGFI_LINKOVERLAY = 0x000008000; // put a link overlay on icon
public const int SHGFI_SELECTED = 0x000010000; // show icon in selected state
public const int SHGFI_ATTR_SPECIFIED = 0x000020000; // get only specified attributes
public const int SHGFI_LARGEICON = 0x000000000; // get large icon
public const int SHGFI_SMALLICON = 0x000000001; // get small icon
public const int SHGFI_OPENICON = 0x000000002; // get open icon
public const int SHGFI_SHELLICONSIZE = 0x000000004; // get shell size icon
public const int SHGFI_PIDL = 0x000000008; // pszPath is a pidl
public const int SHGFI_USEFILEATTRIBUTES = 0x000000010; // use passed dwFileAttribute
public const int SHGFI_ADDOVERLAYS = 0x000000020; // apply the appropriate overlays
public const int SHGFI_OVERLAYINDEX = 0x000000040; // Get the index of the overlay 4: ShellAPI
public const int SHGFI_ICON = 0x000000100; // get icon
public const int SHGFI_DISPLAYNAME = 0x000000200; // get display name
public const int SHGFI_TYPENAME = 0x000000400; // get type name
public const int SHGFI_ATTRIBUTES = 0x000000800; // get attributes
public const int SHGFI_ICONLOCATION = 0x000001000; // get icon location
public const int SHGFI_EXETYPE = 0x000002000; // return exe type
public const int SHGFI_SYSICONINDEX = 0x000004000; // get system icon index
public const int SHGFI_LINKOVERLAY = 0x000008000; // put a link overlay on icon
public const int SHGFI_SELECTED = 0x000010000; // show icon in selected state
public const int SHGFI_ATTR_SPECIFIED = 0x000020000; // get only specified attributes
public const int SHGFI_LARGEICON = 0x000000000; // get large icon
public const int SHGFI_SMALLICON = 0x000000001; // get small icon
public const int SHGFI_OPENICON = 0x000000002; // get open icon
public const int SHGFI_SHELLICONSIZE = 0x000000004; // get shell size icon
public const int SHGFI_PIDL = 0x000000008; // pszPath is a pidl
public const int SHGFI_USEFILEATTRIBUTES = 0x000000010; // use passed dwFileAttribute
public const int SHGFI_ADDOVERLAYS = 0x000000020; // apply the appropriate overlays
public const int SHGFI_OVERLAYINDEX = 0x000000040; // Get the index of the overlay Enums
SHGFI_ICON = 0x000000100, // get icon
SHGFI_DISPLAYNAME = 0x000000200, // get display name
SHGFI_TYPENAME = 0x000000400, // get type name
SHGFI_ATTRIBUTES = 0x000000800, // get attributes
SHGFI_ICONLOCATION = 0x000001000, // get icon location
SHGFI_EXETYPE = 0x000002000, // return exe type
SHGFI_SYSICONINDEX = 0x000004000, // get system icon index
SHGFI_LINKOVERLAY = 0x000008000, // put a link overlay on icon
SHGFI_SELECTED = 0x000010000, // show icon in selected state
SHGFI_ATTR_SPECIFIED = 0x000020000, // get only specified attributes
SHGFI_LARGEICON = 0x000000000, // get large icon
SHGFI_SMALLICON = 0x000000001, // get small icon
SHGFI_OPENICON = 0x000000002, // get open icon
SHGFI_SHELLICONSIZE = 0x000000004, // get shell size icon
SHGFI_PIDL = 0x000000008, // pszPath is a pidl
SHGFI_USEFILEATTRIBUTES = 0x000000010, // use passed dwFileAttribute
SHGFI_ADDOVERLAYS = 0x000000020, // apply the appropriate overlays
SHGFI_OVERLAYINDEX = 0x000000040, // Get the index of the overlay in 6: SHGFI
enum SHGFI {
SHGFI_ICON = 0x000000100,
SHGFI_DISPLAYNAME = 0x000000200,
SHGFI_TYPENAME = 0x000000400,
SHGFI_ATTRIBUTES = 0x000000800,
SHGFI_ICONLOCATION = 0x000001000,
SHGFI_EXETYPE = 0x000002000,
SHGFI_SYSICONINDEX = 0x000004000,
SHGFI_LINKOVERLAY = 0x000008000,
SHGFI_SELECTED = 0x000010000,
SHGFI_ATTR_SPECIFIED = 0x000020000,
SHGFI_LARGEICON = 0x000000000,
SHGFI_SMALLICON = 0x000000001,
SHGFI_OPENICON = 0x000000002,
SHGFI_SHELLICONSIZE = 0x000000004,
SHGFI_PIDL = 0x000000008,
SHGFI_USEFILEATTRIBUTES = 0x000000010,
SHGFI_ADDOVERLAYS = 0x000000020,
SHGFI_OVERLAYINDEX = 0x000000040
Enum SHGFI
SHGFI_ICON = &H100
SHGFI_DISPLAYNAME = &H200
SHGFI_TYPENAME = &H400
SHGFI_ATTRIBUTES = &H800
SHGFI_ICONLOCATION = &H1000
SHGFI_EXETYPE = &H2000
SHGFI_SYSICONINDEX = &H4000
SHGFI_LINKOVERLAY = &H8000
SHGFI_SELECTED = &H10000
SHGFI_ATTR_SPECIFIED = &H20000
SHGFI_LARGEICON = &H0
SHGFI_SMALLICON = &H1
SHGFI_OPENICON = &H2
SHGFI_SHELLICONSIZE = &H4
SHGFI_PIDL = &H8
SHGFI_USEFILEATTRIBUTES = &H10
SHGFI_ADDOVERLAYS = &H20
SHGFI_OVERLAYINDEX = &H40 |