다음을 통해 공유


GPE::SetMode (Windows CE 5.0)

Send Feedback

This method executes to enable the device driver based on the Graphics Primitive Engine (GPE) and to request a specific mode for the display.

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 Values

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

OS Versions: Windows CE 1.0 and later.
Header: Gpe.h.
Link Library: Gpe_lib.lib.

See Also

Display Drivers | GPE::GetModeInfo | GPEMode

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.