|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
In some cases, it may become necessary to separate two or more display surfaces. If one GDI surface is differentiated from another display surface, the current GDI mode does not necessarily identify the current physical, or actual, mode of the display. The GetPhysicalModeId, along with the m_dwPhysicalModeIDmember variable, described below, allow the driver to maintain this mode information.
virtual DWORD GetPhysicalModeId (void );
This function returns the current mode of the display. If the current primary surface is not the GDI surface, this physical mode might differ from GDI's current mode index.
Last updated on Tuesday, July 13, 2004