Torna al Thread

[StructLayout(LayoutKind::Sequential)] public value class SHFILEINFO { public: IntPtr hIcon; IntPtr iIcon; System::UInt32 dwAttributes; [MarshalAs(UnmanagedType::ByValTStr, SizeConst=260)] String ^szDisplayName; [MarshalAs(UnmanagedType::ByValTStr, SizeConst=80)] String ^szTypeName; }; [DllImport("shell32.dll")] extern IntPtr SHGetFileInfo(String ^pszPath, System::UInt32 dwFileAttributes, SHFILEINFO ^%psfi, System::UInt32 cbSizeFileInfo, System::UInt32 uFlags);
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5