GPE::SetMode (Compact 2013)
3/26/2014
This method executes to enable the device driver based on the Graphics Primitive Engine (GPE) and to request a specific mode for the display.
Syntax
virtual SCODE SetMode(
int modeID,
HPALLETE* palette
);
Parameters
- modeID
[in] Mode number to set.
- palette
[in, out] On input, a handle to a palette. On output, this parameter provides a palette filled in by the EngCreatePalette function.
Return Value
None.
Remarks
The modeID is the value from the modeID member of the GPEMode structure populated by a prior call to GPE::GetModeInfo. This can differ from the modeNo value used in the GPE::GetModeInfo call.
Requirements
Header |
gpe.h |
Library |
Gpe_lib.lib |