CreateIC
基本信息
- 中文名
CreateIC
- 声明
Declare Function CreateIC
- 别名
CreateICA
- 参数表
传递null值给该参数
基本内容
[]
Lib "gdi32" Alias "CreateICA" (ByVal lpDriverName As String, ByVal lpDeviceName As String, ByVal lpOutput As String, lpInitData As DEVMODE) As Long
C++:
HDC CreateIC( _In_ LPCTSTR lpszDriver, _In_ LPCTSTR lpszDevice, LPCTSTR lpszOutput, _In_ constDEVMODE *lpdvmInit );
[]
[说明]
为专用设备创建一个信息场景。信息场景可用来快速获取某设备的信息而无须创建设备场景这样的 系统开销。它可作为 参数传递给GetDeviceCaps一类的 信息函数以替代设备场景参数
[From MSDN :]
The CreateICfunction creates an information context for the specified device. The information context provides a fast way to get information about the device without creating a device context (DC). However, GDI drawing functions cannot accept a handle to an information context.