点击或拖拽改变大小

UnmanagedMethodsCreateDIBSection 方法 (IntPtr, UnmanagedMethodsBITMAPINFOHEADER, Int32, IntPtr, IntPtr, Int32)

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

命名空间:  CPF.Windows
程序集:  CPF.Windows (在 CPF.Windows.dll 中) 版本:0.8.8.5
语法
C#
public static IntPtr CreateDIBSection(
	IntPtr hDC,
	ref UnmanagedMethodsBITMAPINFOHEADER pBitmapInfo,
	int un,
	out IntPtr lplpVoid,
	IntPtr handle,
	int dw
)

参数

hDC
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBSection(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="hDC"/> 文档]

pBitmapInfo
类型:CPF.WindowsUnmanagedMethodsBITMAPINFOHEADER

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBSection(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="pBitmapInfo"/> 文档]

un
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBSection(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="un"/> 文档]

lplpVoid
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBSection(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="lplpVoid"/> 文档]

handle
类型:SystemIntPtr

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBSection(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="handle"/> 文档]

dw
类型:SystemInt32

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBSection(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.Int32,System.IntPtr@,System.IntPtr,System.Int32)" 的 <param name="dw"/> 文档]

返回值

类型:IntPtr

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

参见