The CreateIC function 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.
HDC CreateIC(
LPCTSTR lpszDriver, |
// pointer to string specifying driver name |
LPCTSTR lpszDevice, |
// pointer to string specifying device name |
LPCTSTR lpszOutput, |
// pointer to string specifying port or file name |
CONST DEVMODE *lpdvmInit |
// pointer to optional initialization data |
); |
If the function succeeds, the return value is the handle to an information context.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
An error occurs if an application calls a GDI drawing function and supplies a handle identifying an information context.
When you no longer need the information device context, call the DeleteDC function to delete it.
DeleteDC, DocumentProperties, DEVMODE, GetDeviceCaps
file: /Techref/os/win/api/win32/func/src/f09_16.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/25 11:44,
3.142.133.210:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/os/win/api/win32/func/src/f09_16.htm"> CreateIC</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.