点击或拖拽改变大小

UnmanagedMethodsCreateDIBitmap 方法

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBitmap(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFO@,System.UInt32)" 的 <summary> 文档]

命名空间:  CPF.Windows
程序集:  CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法
C#
public static IntPtr CreateDIBitmap(
	IntPtr hdc,
	in UnmanagedMethodsBITMAPINFOHEADER lpbmih,
	uint fdwInit,
	byte[] lpbInit,
	in UnmanagedMethodsBITMAPINFO lpbmi,
	uint fuUsage
)

参数

hdc
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBitmap(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFO@,System.UInt32)" 的 <param name="hdc"/> 文档]

lpbmih
类型:CPF.WindowsUnmanagedMethodsBITMAPINFOHEADER

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBitmap(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFO@,System.UInt32)" 的 <param name="lpbmih"/> 文档]

fdwInit
类型:SystemUInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBitmap(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFO@,System.UInt32)" 的 <param name="fdwInit"/> 文档]

lpbInit
类型:SystemByte

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBitmap(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFO@,System.UInt32)" 的 <param name="lpbInit"/> 文档]

lpbmi
类型:CPF.WindowsUnmanagedMethodsBITMAPINFO

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBitmap(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFO@,System.UInt32)" 的 <param name="lpbmi"/> 文档]

fuUsage
类型:SystemUInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBitmap(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFO@,System.UInt32)" 的 <param name="fuUsage"/> 文档]

返回值

类型:IntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBitmap(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.UInt32,System.Byte[],CPF.Windows.UnmanagedMethods.BITMAPINFO@,System.UInt32)" 的 <returns> 文档]

参见