Share via


DDGPESurf::SetDriverData (Windows Embedded CE 6.0)

1/6/2010

This method stores any data your driver attaches to the DDGPESurf object, regardless of how you have subclassed it in your driver.

Syntax

virtual void SetDriverData(
  DDGPEDriverData* pDriverData 
);

Parameters

  • pDriverData
    A pointer to the driver data that is attached to this DDGPESurf object. Your driver is responsible for allocating and releasing the memory associated with this object.

Return Value

None.

Remarks

The driver data is neither created nor released by the DDGPESurf object; the driver is responsible for this. The DDGPESurf object simply stores a pointer to the memory you have allocated. If you are setting the driver data, your driver should check that the driver data already attached to the selected object is properly released.

Requirements

Header ddgpe.h
Library Ddgpe.lib
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Concepts

DDGPESurf Class
DDGPESurf Class Definition