Partager via


GPESurf::Init (Windows Embedded CE 6.0)

1/6/2010

This method initializes a newly created GPESurf object.

Syntax

void GPESurf::Init(
  int width,
  int height,
  void* pBits,
  int stride,
  EGPEFormat format
);

Parameters

  • width
    [in] Width in pixels of the surface to be initialized.
  • height
    [in] Height in pixels of the surface to be initialized.
  • pBits
    [in] Pointer to the memory to be associated with this surface.
  • stride
    [in] Number of bytes between rows in the surface.
  • format
    [in] Pixel format for the surface.

Return Value

None.

Remarks

The is generally not called directly by a display driver.

Requirements

Header gpe.h
Library Gpe_lib.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Display Driver Methods
GPESurf::GPESurf

Concepts

GPESurf

Other Resources

Display Drivers