Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Information Device Contexts

The information DC is used to retrieve default device data. For example, an application can call the CreateIC function to create an information DC for a particular model of printer and then call the GetCurrentObject and GetObject functions to retrieve the default pen or brush attributes. Because the system can retrieve device information without creating the structures normally associated with the other types of device contexts, an information DC involves far less overhead and is created significantly faster than any of the other types. After an application finishes retrieving data by using an information DC, it must call the DeleteDC function.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft