点击或拖拽改变大小

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

[缺少 "M:CPF.Windows.UnmanagedMethods.CreateDIBSection(System.IntPtr,CPF.Windows.UnmanagedMethods.BITMAPINFOHEADER@,System.Int32,System.Int32@,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 bmi,
	int iUsage,
	ref int ppvBits,
	IntPtr hSection,
	int dwOffset
)

参数

hdc
类型:SystemIntPtr

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

bmi
类型:CPF.WindowsUnmanagedMethodsBITMAPINFOHEADER

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

iUsage
类型:SystemInt32

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

ppvBits
类型:SystemInt32

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

hSection
类型:SystemIntPtr

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

dwOffset
类型:SystemInt32

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

返回值

类型:IntPtr

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

参见