Share via


DDGPE::SetDriverData (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual void SetDriverData(
  DDGPEDriverData* pDriverData 
);

Parameters

  • pDriverData
    Pointer to the driver data that should be attached to this DDGPE 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 DDGPE object; the driver is responsible for this. The DDGPE 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 that is already attached to the selected DDGPE object is properly released.

Requirements

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

See Also

Concepts

DDGPE Class
DDGPE Class Definition