Partager via


DDGPE::SetDriverData (Compact 2013)

3/26/2014

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

See Also

Reference

DDGPE Class
DDGPE Class Definition