点击或拖拽改变大小

GDICreateDIBSection 方法

Sweet 开发框架

[缺少 "M:Sweet.Common.Win32.GDI.CreateDIBSection(System.IntPtr,Sweet.Common.Win32.BITMAPINFO@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <summary> 文档]

命名空间:  Sweet.Common.Win32
程序集:  Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法
public static int CreateDIBSection(
	IntPtr hdc,
	ref BITMAPINFO pBitmapInfo,
	int un,
	ref IntPtr lplpVoid,
	IntPtr handle,
	int dw
)

参数

hdc
类型:SystemIntPtr

[缺少 "M:Sweet.Common.Win32.GDI.CreateDIBSection(System.IntPtr,Sweet.Common.Win32.BITMAPINFO@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="hdc"/> 文档]

pBitmapInfo
类型:Sweet.Common.Win32BITMAPINFO

[缺少 "M:Sweet.Common.Win32.GDI.CreateDIBSection(System.IntPtr,Sweet.Common.Win32.BITMAPINFO@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="pBitmapInfo"/> 文档]

un
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.GDI.CreateDIBSection(System.IntPtr,Sweet.Common.Win32.BITMAPINFO@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="un"/> 文档]

lplpVoid
类型:SystemIntPtr

[缺少 "M:Sweet.Common.Win32.GDI.CreateDIBSection(System.IntPtr,Sweet.Common.Win32.BITMAPINFO@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="lplpVoid"/> 文档]

handle
类型:SystemIntPtr

[缺少 "M:Sweet.Common.Win32.GDI.CreateDIBSection(System.IntPtr,Sweet.Common.Win32.BITMAPINFO@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="handle"/> 文档]

dw
类型:SystemInt32

[缺少 "M:Sweet.Common.Win32.GDI.CreateDIBSection(System.IntPtr,Sweet.Common.Win32.BITMAPINFO@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="dw"/> 文档]

返回值

类型:Int32

[缺少 "M:Sweet.Common.Win32.GDI.CreateDIBSection(System.IntPtr,Sweet.Common.Win32.BITMAPINFO@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <returns> 文档]

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