DestroySurface

Called by a DCI Provider when a surface is no longer in use.

void CALLBACK _loadds DestroySurface(lpSurface)

LPVOID

lpSurface;


INPUT PARAMETERS

lpSurface

Specifies a far pointer to a DCISURFACEINFO structure that was previously obtained via a DCIDCREATEPRIMARYSURFACE, DCICREATEOFFSCREENSURFACE, or DCICREATEOVERLAYSURFACE escape.


RETURNS

None.

COMMENTS

The DCI Provider should free any resources associated with the DCI surface, and perform any necessary clean-up tasks at DestroySurface.