20 lines
611 B
C#
20 lines
611 B
C#
using System;
|
|
using global::System.Runtime.InteropServices;
|
|
|
|
namespace Pilz.Win32.Native
|
|
{
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public struct SHFILEINFO
|
|
{
|
|
public const uint SHGFI_ICON = 0x100U;
|
|
public const uint SHGFI_LARGEICON = 0x0U;
|
|
public const uint SHGFI_SMALLICON = 0x1U;
|
|
public IntPtr hIcon;
|
|
public IntPtr iIcon;
|
|
public uint dwAttributes;
|
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 260)]
|
|
public string szDisplayName;
|
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 80)]
|
|
public string szTypeName;
|
|
}
|
|
} |