Share via


DDGPE::GetPhysicalModeId (Windows Embedded CE 6.0)

1/6/2010

In some cases, it might be 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_dwPhysicalModeID member variable, allows the driver to maintain this mode information.

Syntax

virtual DWORD GetPhysicalModeId();

Parameters

None.

Return Value

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.

Requirements

Header ddgpe.h
Library Ddgpe.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

m_dwPhysicalModeID

Concepts

DDGPE Class
DDGPE Class Definition