Partager via


ITileEngineGraphicsDevice::Create16BppTexture (Windows Embedded CE 6.0)

1/6/2010

This method creates a surface with 16 bits per pixel, for the Internet Explorer Embedded tiling engine.

Syntax

HRESULT Create16BppTexture(
  int fRenderTarget, 
  UINT nWidth, 
  UINT nHeight, 
  int fKeepsystemMemory, 
    ICustomSurface** ppSurface
)

Parameters

  • fRenderTarget
    [in] Specifies whether the surface is the target that the graphics-rendering plug-in uses to buffer graphics before displaying them on the screen. 1 indicates the surface is the target; 0 (zero) indicates it is not the target.
  • nWidth
    [in] Width of surface, in pixels.
  • nHeight
    [in] Height of surface, in pixels.
  • fKeepsystemMemory
    [in] Specifies whether the plug-in must keep the surface as a copy in system memory. If true, you must allocate a surface of the same size in system memory for the tiling engine to perform rasterization and updates on.
  • ppSurface
    [out] Pointer to an object that implements the ICustomSurface interface.

Return Value

This method returns a standard HRESULT, or it returns S_OK upon success.

Remarks

You can use this method to create or customize a graphics-rendering plug-in to implement hardware acceleration.

Requirements

Header TileEngineRenderPlugin.h
Library TileEngineRenderPlugin.lib
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

ITileEngineGraphicsDevice

Other Resources

Internet Explorer Embedded Tiling Engine Reference