次の方法で共有


GPE::SetMode (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Display Driver Methods
GPE::GetModeInfo
GPEMode

Other Resources

Display Drivers