点击或拖拽改变大小

ShellSHGetFileInfo 方法

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.Shell.SHGetFileInfo(System.String,System.Int32,Sweet.Common.Win32.SHFILEINFO@,System.Int32,System.Int32)" 的 <summary> 文档]

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int SHGetFileInfo(
	string pszPath,
	int dwFileAttributes,
	ref SHFILEINFO psfi,
	int cbFileInfo,
	int uFlags
)

参数

pszPath
类型:SystemString

[缺少 "M:Sweet.Common.Win32.Shell.SHGetFileInfo(System.String,System.Int32,Sweet.Common.Win32.SHFILEINFO@,System.Int32,System.Int32)" 的 <param name="pszPath"/> 文档]

dwFileAttributes
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Shell.SHGetFileInfo(System.String,System.Int32,Sweet.Common.Win32.SHFILEINFO@,System.Int32,System.Int32)" 的 <param name="dwFileAttributes"/> 文档]

psfi
类型:Sweet.Common.Win32SHFILEINFO

[缺少 "M:Sweet.Common.Win32.Shell.SHGetFileInfo(System.String,System.Int32,Sweet.Common.Win32.SHFILEINFO@,System.Int32,System.Int32)" 的 <param name="psfi"/> 文档]

cbFileInfo
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Shell.SHGetFileInfo(System.String,System.Int32,Sweet.Common.Win32.SHFILEINFO@,System.Int32,System.Int32)" 的 <param name="cbFileInfo"/> 文档]

uFlags
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.Shell.SHGetFileInfo(System.String,System.Int32,Sweet.Common.Win32.SHFILEINFO@,System.Int32,System.Int32)" 的 <param name="uFlags"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.Shell.SHGetFileInfo(System.String,System.Int32,Sweet.Common.Win32.SHFILEINFO@,System.Int32,System.Int32)" 的 <returns> 文档]

参见
SweetUI 控件库、工具类库、扩展类库、多页面开发框架