Partager via


DDGPE::GetPhysicalModeId (Compact 2013)

3/26/2014

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

See Also

Reference

DDGPE Class
m_dwPhysicalModeID
DDGPE Class Definition